Hacker News new | ask | show | jobs
by possibleNoob 3814 days ago
What is tree shake your dependencies?
1 comments

Something like http://rollupjs.org which statically analyzes your ES6 dependency graph and creates a bundle with only the parts you need. The author included an image that rips at ES6 syntax, including the new import statements. A tool like Rollup couldn't work with dynamic exports like `module.exports = foobar`.