mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Reenable gzipping, pull in statigz fix, fix proxy prefix (#2039)
Co-authored-by: peolic <66393006+peolic@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
9a76b4cf11
commit
74fcaa9a3f
@@ -4,6 +4,7 @@ import viteCompression from 'vite-plugin-compression';
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
base: "",
|
||||
build: {
|
||||
outDir: 'build',
|
||||
},
|
||||
@@ -15,12 +16,12 @@ export default defineConfig({
|
||||
},
|
||||
publicDir: 'public',
|
||||
assetsInclude: ['**/*.md'],
|
||||
plugins: [tsconfigPaths()
|
||||
// viteCompression({
|
||||
// algorithm: 'gzip',
|
||||
// disable: false,
|
||||
// deleteOriginFile: true,
|
||||
// filter: /\.(js|json|css|svg|md)$/i
|
||||
// })
|
||||
plugins: [tsconfigPaths(),
|
||||
viteCompression({
|
||||
algorithm: 'gzip',
|
||||
disable: false,
|
||||
deleteOriginFile: true,
|
||||
filter: /\.(js|json|css|svg|md)$/i
|
||||
})
|
||||
],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user