Skip to content

Commit 0b77513

Browse files
move global css to lib so it gets bundled in package build.
fix SSR issue with autcomplete component
1 parent 3e8539e commit 0b77513

File tree

5 files changed

+255
-243
lines changed

5 files changed

+255
-243
lines changed

scripts/generate-index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const exports = svelteFilesInComponents
5454
// Write the file only if there are no duplicates
5555
writeFileSync(
5656
indexFile,
57-
`// this file is auto-generated — do not edit by hand\n${exports.join("\n")}\n`,
57+
`// this file is auto-generated — do not edit by hand\nimport "$lib/app.css";\n\n${exports.join("\n")}\n`,
5858
);
5959

6060
console.log(
File renamed without changes.

0 commit comments

Comments
 (0)