We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在.babelrc中加入
.babelrc
{ "plugins": ["@areslabs/babel-plugin-import-css"], ... }
报错,Unexpected keyword const.const declarations are not supported in strict mode
Unexpected keyword const.const declarations are not supported in strict mode
The text was updated successfully, but these errors were encountered:
我尝试加了
{ "presets": [ "es2015", "react" ], "plugins": ["@areslabs/babel-plugin-import-css"] }
没有上面的报错了,但是有新的报错
error: bundling failed: Error: Unable to resolve module `@areslabs/babel-plugin-import-css/rncsscache\jsbundles\JDReactNodeProxy\index.css.js` from `C:\Users\xxx\jdreact-jsbundle-jdreactnodeproxy\jsbundles\JDReactNodeProxy\secondKill.js`: Module `@areslabs/babel-plugin-import-css/rncsscache\jsbundles\JDReactNodeProxy\index.css.js` does not exist in the Haste module map
Sorry, something went wrong.
in dev mode, please run npm run cssWatch first
npm run cssWatch
No branches or pull requests
在
.babelrc
中加入报错,
Unexpected keyword const.const declarations are not supported in strict mode
The text was updated successfully, but these errors were encountered: