btclock-webui/patches/@sveltejs+kit+2.5.25.patch

18 lines
925 B
Diff
Raw Normal View History

2023-11-17 19:10:46 +01:00
diff --git a/node_modules/@sveltejs/kit/src/exports/vite/index.js b/node_modules/@sveltejs/kit/src/exports/vite/index.js
2024-09-03 12:11:14 +02:00
index 2280025..cfbcfa9 100644
2023-11-17 19:10:46 +01:00
--- a/node_modules/@sveltejs/kit/src/exports/vite/index.js
+++ b/node_modules/@sveltejs/kit/src/exports/vite/index.js
2024-09-03 12:11:14 +02:00
@@ -621,9 +621,9 @@ async function kit({ svelte_config }) {
2023-11-17 19:10:46 +01:00
input,
output: {
format: 'esm',
- entryFileNames: ssr ? '[name].js' : `${prefix}/[name].[hash].${ext}`,
- chunkFileNames: ssr ? 'chunks/[name].js' : `${prefix}/chunks/[name].[hash].${ext}`,
- assetFileNames: `${prefix}/assets/[name].[hash][extname]`,
+ entryFileNames: ssr ? '[name].js' : `${prefix}/[hash].${ext}`,
+ chunkFileNames: ssr ? 'chunks/[name].js' : `${prefix}/chunks/[hash].${ext}`,
+ assetFileNames: `${prefix}/assets/[hash][extname]`,
hoistTransitiveImports: false,
sourcemapIgnoreList
},