|
You are here |
putridparrot.com | ||
| | | | |
www.2ality.com
|
|
| | | | | Rich Harris' module bundler Rollup popularized an important feature in the JavaScript world: tree-shaking, excluding unused exports from bundles. Rollup depends on the static structure of ES6 modules (imports and exports can't be changed at runtime) to detect which exports are unused. Tree-shaking for webpack is currently in beta. This blog post explains how it works. The project we are going to examine is on GitHub: tree-shaking-demo | |
| | | | |
vladivanov.me
|
|
| | | | | What are modular systems in JavaScript? Why are there so many? What problems can arise from this and how can they be solved? And what to choose in 2023? I'll tell in this article. | |
| | | | |
krasimirtsonev.com
|
|
| | | | | Transpile to ES modules with Babel / While I was working on Navigo an issue popped out. It was about using the library in the context of Web Dev Server where we have everything in TypeScript. And something was not ok with Navigo. The npm package wasn't exported properly and we were keep getting a does not provide an export named 'default' error. It turned out the problem is that Navigo is not exported properly as ES module (also known as ESM). | |
| | | | |
humberto.io
|
|
| | | Discover how to separate your stacks to get autonomy between frontend and backend using Angular 6 and Django 2 | ||