#does astro split js code ?
4 messages · Page 1 of 1 (latest)
If the library supports trees-shaking then only what you use will get bundled
how can I know that ?
If the library uses js modules, es6 imports/exports AFAIK
4 messages · Page 1 of 1 (latest)
for example if I'm using a single function from a library on the page and it get requested, does it send the full library or just what the page needs ?
If the library supports trees-shaking then only what you use will get bundled
how can I know that ?
If the library uses js modules, es6 imports/exports AFAIK