From fb9913c4193f43a51e87e8579a779a9032889bce Mon Sep 17 00:00:00 2001 From: Djuri Baars Date: Tue, 5 Nov 2024 13:15:22 +0100 Subject: [PATCH] New patch --- patches/@sveltejs+kit+2.7.5.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 patches/@sveltejs+kit+2.7.5.patch diff --git a/patches/@sveltejs+kit+2.7.5.patch b/patches/@sveltejs+kit+2.7.5.patch new file mode 100644 index 0000000..e25e1e5 --- /dev/null +++ b/patches/@sveltejs+kit+2.7.5.patch @@ -0,0 +1,17 @@ +diff --git a/node_modules/@sveltejs/kit/src/exports/vite/index.js b/node_modules/@sveltejs/kit/src/exports/vite/index.js +index 40fa4c6..738cabf 100644 +--- a/node_modules/@sveltejs/kit/src/exports/vite/index.js ++++ b/node_modules/@sveltejs/kit/src/exports/vite/index.js +@@ -655,9 +655,9 @@ async function kit({ svelte_config }) { + 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 + },