adding target to the build in config
This commit is contained in:
parent
6556e09941
commit
fc4057536c
4 changed files with 296 additions and 332 deletions
2
.env
2
.env
|
|
@ -21,5 +21,3 @@ VITE_APP_WEBSITE_TITLE="Adaptive Dashboard"
|
||||||
VITE_APP_PRIMARY_COLOUR=blue
|
VITE_APP_PRIMARY_COLOUR=blue
|
||||||
VITE_APP_SECONDARY_COLOUR=blueGrey
|
VITE_APP_SECONDARY_COLOUR=blueGrey
|
||||||
VITE_APP_SIGNATURE_COLOUR="#323232"
|
VITE_APP_SIGNATURE_COLOUR="#323232"
|
||||||
|
|
||||||
SKIP_PREFLIGHT_CHECK=true
|
|
||||||
|
|
|
||||||
620
package-lock.json
generated
620
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -40,7 +40,6 @@
|
||||||
"@turf/area": "^7.2.0",
|
"@turf/area": "^7.2.0",
|
||||||
"@turf/turf": "^7.2.0",
|
"@turf/turf": "^7.2.0",
|
||||||
"@types/classnames": "^2.3.0",
|
"@types/classnames": "^2.3.0",
|
||||||
"@types/mapbox-gl": "^3.4.1",
|
|
||||||
"axios": "^1.7.7",
|
"axios": "^1.7.7",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.13",
|
||||||
"deep-object-diff": "^1.1.9",
|
"deep-object-diff": "^1.1.9",
|
||||||
|
|
@ -81,6 +80,7 @@
|
||||||
"@types/lodash": "^4.17.13",
|
"@types/lodash": "^4.17.13",
|
||||||
"@types/mapbox__mapbox-gl-draw": "^1.4.8",
|
"@types/mapbox__mapbox-gl-draw": "^1.4.8",
|
||||||
"@types/mapbox__mapbox-gl-geocoder": "^5.0.0",
|
"@types/mapbox__mapbox-gl-geocoder": "^5.0.0",
|
||||||
|
"@types/mapbox-gl": "^3.4.1",
|
||||||
"@types/react": "^18.3.10",
|
"@types/react": "^18.3.10",
|
||||||
"@types/react-beautiful-dnd": "^13.1.8",
|
"@types/react-beautiful-dnd": "^13.1.8",
|
||||||
"@types/react-color": "^3.0.13",
|
"@types/react-color": "^3.0.13",
|
||||||
|
|
|
||||||
|
|
@ -22,8 +22,10 @@ export default defineConfig({
|
||||||
outDir: './build',
|
outDir: './build',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
minify: false,
|
minify: false,
|
||||||
|
target: 'esnext'
|
||||||
},
|
},
|
||||||
esbuild: {
|
esbuild: {
|
||||||
keepNames: true, // Prevent function name mangling
|
keepNames: true, // Prevent function name mangling
|
||||||
}
|
},
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue