3 ms·
Has anyone done further testing on the growth rate of the compiled code for larger projects? From the discussion when this launched it seems like the difference
by ricardobeat 10y ago
Has anyone done further testing on the growth rate of the compiled code for larger projects? From the discussion when this launched it seems like the difference will be mostly felt by smaller apps. That aside, being able to write 'universal' components that work independently of a framework is still a great thing to have.
- rich_harris 10y agoSince launch we've added the ability to generate code that reuses functions between components. If you use the CLI it will create 'standalone' modules, but if you use something like https://github.com/rollup/rollup-plugin-svelte https://github.com/rollup/rollup-plugin-svelte then code will automatically be reused.