Skip to content

build(frontend): bundle single js and css#9720

Draft
peterpeterparker wants to merge 2 commits intomainfrom
build/bundle-single-js-css-file
Draft

build(frontend): bundle single js and css#9720
peterpeterparker wants to merge 2 commits intomainfrom
build/bundle-single-js-css-file

Conversation

@peterpeterparker
Copy link
Member

Motivation

While hacking around with the bundles strategy which I assumed was broken - it is not see #9718 - I discovered an issue that links to a new option of SvelteKit (documented here) which allows for bundling a single JS and CSS files.

While it generates a really huge file - 1.7 Mb Gzipped 😰 - maybe it would be still interesting to have a look to see if it improves performance?

Changes

  • Use output option single

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants