removed browserslist from package and set the target to esnext in the vite config
This commit is contained in:
parent
175d87f210
commit
edbbbc8869
2 changed files with 1 additions and 12 deletions
12
package.json
12
package.json
|
|
@ -98,17 +98,5 @@
|
|||
"vite-plugin-pwa": "^0.21.1",
|
||||
"vite-tsconfig-paths": "^5.1.2",
|
||||
"vitest": "^3.0.7"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
"last 1 chrome version",
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
],
|
||||
"development": [
|
||||
"last 1 chrome version",
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ export default defineConfig({
|
|||
outDir: './build',
|
||||
sourcemap: true,
|
||||
minify: false,
|
||||
target: 'esnext'
|
||||
},
|
||||
esbuild: {
|
||||
keepNames: true, // Prevent function name mangling
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue