New issue
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
commonjs module under web_modules can not be load correctly in webpack 4. #7610
Comments
Could you paste your |
|
Try removing the second instance of the babel loader: {
test:/\.(js|jsx)$/,
use:['babel-loader'],
exclude:/node_modules/
}, |
Tnx, it's so stupid. But why? the files under |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
commonjs module under web_modules can not be load correctly in webpack 4.
What is the current behavior?
move the
test-module
folder to node_modules, the build pass.If the current behavior is a bug, please provide the steps to reproduce.
will try to make one later.
What is the expected behavior?
module under web_module should also work as node_modules
Other relevant information:
webpack version: 4.12.2
Node.js version: 8.7
Operating System: mac
The text was updated successfully, but these errors were encountered: