-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Description
Feature to document
Tree shaking aka dead code elimination
Details
According to this comment, tree shaking is not supported for async chunks, but there's no mention of this in the tree shaking guide.
Additional information
I've read this comment from @sokra but it's quite terse and since the OP deleted his repo, it's not clear to me: does webpack always disable tree shaking for async chunks, or only in case when there are 2+ async chunks which share the same module, say foo.js
? Are there any other gotchas to know about?
I can send a patch but I need to understand this better.
mribichich, septatrix, dsech, marvelefe and Nazar-bnm
Metadata
Metadata
Assignees
Labels
No labels