@sveltejs/kit 1.7.1 → 1.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -185,9 +185,9 @@ export function create_builder({
|
|
|
185
185
|
const server_assets = copy(
|
|
186
186
|
`${config.kit.outDir}/output/server/${config.kit.appDir}/immutable/assets`,
|
|
187
187
|
join(dest, config.kit.appDir, 'immutable/assets')
|
|
188
|
-
);
|
|
188
|
+
).map((filename) => join(config.kit.appDir, 'immutable/assets', filename));
|
|
189
189
|
const client_assets = copy(`${config.kit.outDir}/output/client`, dest);
|
|
190
|
-
return Array.from(new Set(...server_assets, ...client_assets));
|
|
190
|
+
return Array.from(new Set([...server_assets, ...client_assets]));
|
|
191
191
|
},
|
|
192
192
|
|
|
193
193
|
// @ts-expect-error
|