Open g7alt opened 3 years ago
There are solutions here, all with different pros and cons. For example we can utilize modern es module with pre-bundled packages, bundle node modules on the fly with esbuild or add more aggressive caching headers for node modules (sacrificing easy editing of dependencies).
I have created a sample project that is generated by
npm init @open-wc
. A single import from tone.js makes page refreshes in development very slow. I could not figure out why?vitejs
for example works as expected.https://github.com/narasab/web-dev-server-tone