You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I use babel-plugin-react-css-modules, I get errors from babel-loader, but without using the plugin in my babel config, everything seems to work fine. I was using react-css-modules before trying to migrate to this one. Everything also works fine with react-css-modules, but now it braeks.
This is the error from npm
ERROR in ./js/components/index.js
Module build failed (from ../node_modules/babel-loader/lib/index.js):
SyntaxError: classEscape at position 19
|[A-Za-z_\-\u{00a0}-
^
at bail (C:\Caleb\spotroll\node_modules\regjsparser\parser.js:1118:13)
at parseClassAtomNoDash (C:\Caleb\spotroll\node_modules\regjsparser\parser.js:1098:11)
at parseClassAtom (C:\Caleb\spotroll\node_modules\regjsparser\parser.js:1083:16)
at parseNonemptyClassRangesNoDash (C:\Caleb\spotroll\node_modules\regjsparser\parser.js:1062:17)
at parseHelperClassRanges (C:\Caleb\spotroll\node_modules\regjsparser\parser.js:1027:13)
at parseNonemptyClassRanges (C:\Caleb\spotroll\node_modules\regjsparser\parser.js:1053:14)
at parseClassRanges (C:\Caleb\spotroll\node_modules\regjsparser\parser.js:997:15)
at parseHelperClassRanges (C:\Caleb\spotroll\node_modules\regjsparser\parser.js:1016:27)
at parseNonemptyClassRanges (C:\Caleb\spotroll\node_modules\regjsparser\parser.js:1053:14)
at parseClassRanges (C:\Caleb\spotroll\node_modules\regjsparser\parser.js:997:15)
The text was updated successfully, but these errors were encountered:
Whenever I use babel-plugin-react-css-modules, I get errors from babel-loader, but without using the plugin in my babel config, everything seems to work fine. I was using react-css-modules before trying to migrate to this one. Everything also works fine with react-css-modules, but now it braeks.
This is the error from npm
The text was updated successfully, but these errors were encountered: