dumber
dumber copied to clipboard
A dumb JavasScript bundler for Single Page Application, dumber than you and me.
Sorry, not sure this is the right repo for this question... New dumberjs project with makes is currently not working...  I'm assuming this is expected to work with Yarn2...
Supports a fast dev mode. * no bundling. Vite can serve ESM modules, we can serve AMD modules. * expose all modules individual files in Gorb's Vinyl format. * design...
https://github.com/dumberjs/dumber/blob/13d2e1cfc1cbef58329898f745c5c7969ef795c9/lib/transformers/cjs-to-amd.js#L64 Reference #21 Hate to bring this back up, but it looks like maybe we missed a use case. The change works perfect for a static url ``` javascript const...
Based on the idea from https://medium.com/@the1mills/hot-reloading-with-react-requirejs-7b2aa6cb06e1 - [ ] Support module.hot in dumber-module-loader - [ ] Support HMR in dumber - [ ] Hook up https://github.com/aurelia/hot-module-reload - [ ] Hook...
- [x] support exports field in package.json https://nodejs.org/docs/latest/api/packages.html#package-entry-points - [x] node: imports https://nodejs.org/docs/latest/api/esm.html#node-imports - [ ] data: imports https://nodejs.org/docs/latest/api/esm.html#data-imports - [ ] `import.meta` https://nodejs.org/docs/latest/api/esm.html#importmeta
I am not a fan of tree-shaking. But I might need to implement one, because Aurelia 2 will ship an umbrella npm package to provide a single import entry point...
- [x] dumber to provide a wrapper to wrap `define()` call to `define('name-space' + innerId)` in order to namespace all plugin modules. Note only namespace user space module. - [x]...