This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Sapper generates duplicate CSS files #1076
Closed
Description
When building or exporting a Sapper application, it generates client.hash.css
and main.hash.css
both files are the same.
{
"bundler": "rollup",
"shimport": "1.0.1",
"assets": { "main": "client.c810e122.js" },
"css": {
"main": "main.1877335015.css",
"chunks": { "index.svelte": ["index.9a007eef.css", "client.c810e122.css"] }
}
}
Is this __sapper__/build/build.json
the main.1877335015.css
and client.c810e122.css
files are the same.
This behavior is reproducible in the sapper-template-rollup.
Sapper: 0.27.9
Svelte: 3.18.1
Ubuntu: 19.10