Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
eltigerchino committed Nov 28, 2024
1 parent 0b16cdb commit 8b24a70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/kit/src/exports/vite/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,9 @@ async function kit({ svelte_config }) {
/** @type {string[]} */
const ssr_stylesheets = [];
for (const key in server_manifest) {
if (server_manifest[key].css) {
ssr_stylesheets.push(...server_manifest[key].css);
const stylesheets = server_manifest[key].css;
if (stylesheets) {
ssr_stylesheets.push(...stylesheets);
}
}
const ssr_stylesheets_set = new Set(ssr_stylesheets);
Expand Down

0 comments on commit 8b24a70

Please sign in to comment.