We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Basic sveltekit project, with config for an SPA and a +layout.svelte file for common css dependancy across different routes.
However, when I look at the build artifacts, I see the same css in 2 different files (which are quite large, due to it being bootstrap.css).
1/. create a sveltekit app
2/. create a +layout.js with...
3/. create another route with a +page.svelte (and some content)
4/. create a +layout.svelte in src/routes with content: -
No response
System: OS: Linux 5.15 Debian GNU/Linux 11 (bullseye) 11 (bullseye) CPU: (16) x64 12th Gen Intel(R) Core(TM) i7-1260P Memory: 5.13 GB / 14.00 GB Container: Yes Shell: 5.1.4 - /bin/bash Binaries: Node: 18.17.1 - ~/.config/nvm/versions/node/v18.17.1/bin/node Yarn: 1.22.19 - ~/.config/nvm/versions/node/v18.17.1/bin/yarn npm: 10.0.0 - ~/.config/nvm/versions/node/v18.17.1/bin/npm npmPackages: @sveltejs/adapter-auto: ^2.0.0 => 2.1.0 @sveltejs/adapter-static: ^2.0.3 => 2.0.3 @sveltejs/kit: ^1.20.4 => 1.24.0 svelte: ^4.0.5 => 4.2.0 vite: ^4.4.2 => 4.4.9
annoyance
total 464 -rw-r--r-- 1 skivy71 skivy71 233455 Sep 5 12:07 0.6fdf698b.css -rw-r--r-- 1 skivy71 skivy71 577 Sep 5 12:07 3.d1a190f4.css -rw-r--r-- 1 skivy71 skivy71 233308 Sep 5 12:07 _layout.7f0430da.css -rw-r--r-- 1 skivy71 skivy71 577 Sep 5 12:07 _page.d1a190f4.css
Can't be good for distributing an SPA?
The text was updated successfully, but these errors were encountered:
closed as duplicate of #9161
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Basic sveltekit project, with config for an SPA and a +layout.svelte file for common css dependancy across different routes.
However, when I look at the build artifacts, I see the same css in 2 different files (which are quite large, due to it being bootstrap.css).
Reproduction
1/. create a sveltekit app
2/. create a +layout.js with...
3/. create another route with a +page.svelte (and some content)
4/. create a +layout.svelte in src/routes with content: -
Logs
No response
System Info
Severity
annoyance
Additional Information
total 464
-rw-r--r-- 1 skivy71 skivy71 233455 Sep 5 12:07 0.6fdf698b.css
-rw-r--r-- 1 skivy71 skivy71 577 Sep 5 12:07 3.d1a190f4.css
-rw-r--r-- 1 skivy71 skivy71 233308 Sep 5 12:07 _layout.7f0430da.css
-rw-r--r-- 1 skivy71 skivy71 577 Sep 5 12:07 _page.d1a190f4.css
Can't be good for distributing an SPA?
The text was updated successfully, but these errors were encountered: