@sveltejs/kit 1.15.2 → 1.15.3
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
|
@@ -550,7 +550,11 @@ function kit({ svelte_config }) {
|
|
|
550
550
|
new_config = {
|
|
551
551
|
base: ssr ? assets_base(kit) : './',
|
|
552
552
|
build: {
|
|
553
|
+
copyPublicDir: !ssr,
|
|
553
554
|
cssCodeSplit: true,
|
|
555
|
+
cssMinify: initial_config.build?.minify == null ? true : !!initial_config.build.minify,
|
|
556
|
+
// don't use the default name to avoid collisions with 'static/manifest.json'
|
|
557
|
+
manifest: 'vite-manifest.json',
|
|
554
558
|
outDir: `${out}/${ssr ? 'server' : 'client'}`,
|
|
555
559
|
rollupOptions: {
|
|
556
560
|
input,
|
|
@@ -564,10 +568,7 @@ function kit({ svelte_config }) {
|
|
|
564
568
|
preserveEntrySignatures: 'strict'
|
|
565
569
|
},
|
|
566
570
|
ssrEmitAssets: true,
|
|
567
|
-
|
|
568
|
-
target: ssr ? 'node16.14' : undefined,
|
|
569
|
-
// don't use the default name to avoid collisions with 'static/manifest.json'
|
|
570
|
-
manifest: 'vite-manifest.json'
|
|
571
|
+
target: ssr ? 'node16.14' : undefined
|
|
571
572
|
},
|
|
572
573
|
publicDir: kit.files.assets,
|
|
573
574
|
worker: {
|