You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup doesn't include variables, function and classes to a result bundle in some cases when the treeshake parameter is off. Try the following example.
As you can see Rollup doesn't include the Foo class to the bundle. When the threeshake is on, the bug doesn't appear.
The text was updated successfully, but these errors were encountered:
Finesse
changed the title
Some modules are not included to a bundle when the treeshake is on
Some modules are not included to a bundle when the treeshake is off
Feb 25, 2017
Rollup doesn't include variables, function and classes to a result bundle in some cases when the treeshake parameter is off. Try the following example.
The entry file
main.js
:The imported file
foo.js
:The result of bundling using Rollup (with treeshake off and output format
iife
) is:As you can see Rollup doesn't include the
Foo
class to the bundle. When the threeshake is on, the bug doesn't appear.The text was updated successfully, but these errors were encountered: