Bumped vite build targets
This commit is contained in:
parent
ad454c386c
commit
5fe47634e8
|
@ -20,14 +20,15 @@ export default defineConfig(({ command, mode }) => {
|
||||||
build: {
|
build: {
|
||||||
polyfillDynamicImport: false,
|
polyfillDynamicImport: false,
|
||||||
cssCodeSplit: false,
|
cssCodeSplit: false,
|
||||||
minify: isProduction
|
minify: isProduction,
|
||||||
|
target: ["es2020", "esnext", "edge88", "chrome87", "safari14"]
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
svelte({
|
svelte({
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
hot: !isProduction,
|
hot: !isProduction,
|
||||||
emitCss: true,
|
emitCss: true,
|
||||||
extensions: [ '.md', '.svx', '.svelte' ],
|
extensions: ['.md', '.svx', '.svelte'],
|
||||||
preprocess: [
|
preprocess: [
|
||||||
//
|
//
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user