Bumped vite build targets

This commit is contained in:
Nicolai Ort 2023-02-23 13:59:27 +01:00
parent ad454c386c
commit 5fe47634e8
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 3 additions and 2 deletions

View File

@ -20,14 +20,15 @@ export default defineConfig(({ command, mode }) => {
build: {
polyfillDynamicImport: false,
cssCodeSplit: false,
minify: isProduction
minify: isProduction,
target: ["es2020", "esnext", "edge88", "chrome87", "safari14"]
},
plugins: [
svelte({
//@ts-ignore
hot: !isProduction,
emitCss: true,
extensions: [ '.md', '.svx', '.svelte' ],
extensions: ['.md', '.svx', '.svelte'],
preprocess: [
//
]