-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
The stats data includes strange strings like ` + 4 modules' #8507
Comments
This simply means that the module was concatenated to include 4 other modules. You can disable this optimization if you want to see the correct dependency tree in the stats data. |
Thank you @niieani. So, it is not a bug. I have two follow-up questions:
Thank you again. |
Here you can turn it off: https://webpack.js.org/configuration/optimization/#optimization-concatenatemodules This is where it comes from in the code: webpack/lib/optimize/ConcatenatedModule.js Lines 393 to 398 in d5e26f7
|
Thank you! |
Bug report
What is the current behavior?
The stats data includes strange string:
If the current behavior is a bug, please provide the steps to reproduce.
The stats data above can be generated using the below plugin:
What is the expected behavior?
Can we remove the string
+ 4 modules
in"moduleName": "./vue/component-a.vue + 4 modules"
?Other relevant information:
webpack version: 4.27.1
Node.js version: 9.0.0
Operating System: Ubuntu 18.04 LTS
Additional tools: I'm using
vue-loader
with webpack. So, I'm not sure who adds these strange strings.The text was updated successfully, but these errors were encountered: