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
What is the current behavior?
I set the lodash to externals, but it still left some code in my package file.
lodash
webpack.config.js
{ externals: { lodash: '_' } }
If I add noParse to webpack.config.js
noParse
{ module: { noParse: /lodash/, } }
Then an error happens,
Uncaught ReferenceError: require is not defined
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior? lodash code should not be in my file.
Other relevant information: webpack version: 4.41.2 Node.js version: 10.16.3 Operating System: ios Additional tools: vs code
4.41.2
10.16.3
The text was updated successfully, but these errors were encountered:
this matches require("lodash") but doesn't work for e.g. require("lodash/throttle"). Use a function to match all of them.
require("lodash")
require("lodash/throttle")
Sorry, something went wrong.
This issue had no activity for at least three months.
It's subject to automatic issue closing if there is no activity in the next 15 days.
Closing due to inactivity. Please test with latest version and feel free to reopen if still regressions. Thanks!
No branches or pull requests
Bug report
What is the current behavior?
I set the
lodash
to externals, but it still left some code in my package file.webpack.config.js
If I add
noParse
to webpack.config.jsThen an error happens,
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
lodash
code should not be in my file.Other relevant information:
webpack version:
4.41.2
Node.js version:
10.16.3
Operating System: ios
Additional tools: vs code
The text was updated successfully, but these errors were encountered: