Rollup now has code-splitting and we need your help
medium.com
medium.com
As an employee I don’t want to donate my wage for tools I need for work. I would pay for a certification that demonstrates my knowledge.
As a business owner, I can’t donate to something without a clear business case. I can pay for certification because I can use that for promotion and as I recently found out having employees certified can reduce insurance costs.
Open-source needs to learn how to work with business if it wants to not have to beg for donations. But I think a lot of the people who run open-source projects enjoy the piety that comes with begging for their noble projects survival.
It splits a fine-grained module graph into coarse-grained vanilla ES modules with zero duplication across fragments and no artificial overheads, e.g. no wrapping internal modules inside functions, and no runtime loader infrastructure.
A simple idea done well.
For example, installing my react boilerplate package would install the bundlesize package as a dependency which would then show a prompt to donate via opencollective but not to my project, but rather the bundlesize project.
It has since been removed[0] but it is kind of misleading.
webpack.config.js
alias: {
three$: path.resolve('./three.js')
}
and a local copy of three.js // Only export the things that are actually needed, cut out everything else
export { WebGLRenderer } from 'three/src/renderers/WebGLRenderer.js';
export { ShaderLib } from 'three/src/renderers/shaders/ShaderLib.js';
export { UniformsLib } from 'three/src/renderers/shaders/UniformsLib.js';
...(Which is mentioned nowhere in that announcement.)