Explore >> Select a destination


You are here

2ality.com
| | krasimirtsonev.com
3.9 parsecs away

Travel
| | 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).
| | www.2ality.com
0.4 parsecs away

Travel
| | 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
| | www.valentinog.com
3.1 parsecs away

Travel
| | Modern frontend tools like babel seem almost magical. What do they do really?
| | lukelowrey.com
29.0 parsecs away

Travel
| I have been working on a ASP.NET Core project that requires me to build and publish sass stylesheets, css and javascript. I wanted to streamline the process so I put together this simple webpack [https://webpack.js.org/] setup to automate what had been a couple of manual steps.