removed browserslist from package and set the target to esnext in the vite config

This commit is contained in:
csawatzky 2025-05-08 13:03:18 -06:00
parent 175d87f210
commit edbbbc8869
2 changed files with 1 additions and 12 deletions

View file

@ -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"
]
}
}

View file

@ -22,6 +22,7 @@ export default defineConfig({
outDir: './build',
sourcemap: true,
minify: false,
target: 'esnext'
},
esbuild: {
keepNames: true, // Prevent function name mangling