use a fixed browser version as the build target
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
||||
"compilerOptions": {
|
||||
"target": "ES2015",
|
||||
"lib": ["DOM", "ES2015"],
|
||||
"target": "ES2022",
|
||||
"lib": ["DOM", "ES2022"],
|
||||
"types": ["vite/client"],
|
||||
"strict": true,
|
||||
"noImplicitReturns": true,
|
||||
|
||||
@@ -195,6 +195,12 @@ export default defineConfig(() => {
|
||||
})
|
||||
],
|
||||
build: {
|
||||
target: [
|
||||
'chrome91',
|
||||
'edge91',
|
||||
'firefox91',
|
||||
'safari15.4'
|
||||
],
|
||||
outDir: BUILD_DIR,
|
||||
sourcemap: false,
|
||||
assetsInlineLimit: 0,
|
||||
|
||||
Reference in New Issue
Block a user