-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Description
Bug report
It is mentioned in the documentation that one of the conditions for tree shaking to be enabled is mode: production.
But I found that the development mode code disappeared. I never believed that it was caused by tree shaking, because the document was very sure that it would not be enabled, 😢 until I found this problem by debugging.
This is easy to reproduce, such as this warehouse xiaoxiaojx/webpack-issuer
What is the current behavior?
tree shaking is enabled in development mode
What is the expected behavior?
Modify the webpack documentation or fix the development mode bug
If it is confirmed to be a bug, I can contribute this pr
Other relevant information:
webpack version: 5.88.2
Metadata
Metadata
Assignees
Labels
No labels