stealjs / steal-tools

Build easy. Load fast.
https://stealjs.com/docs/steal-tools.html
MIT License
67 stars 23 forks source link

Disable client-side treeshaking when BuildOption is used #1059

Closed matthewp closed 6 years ago

matthewp commented 6 years ago

When the BuildOption treeShaking: false is provided, also disable client-side tree shaking by setting the treeShaking: false config on the Loader.

Fixes #1058

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.004%) to 93.64% when pulling 6410fb871452835998baa5a497d304c4a0307695 on tree-shaking2 into c377ecd38b4684d19d5047b487a763c6eb924704 on master.