mapbox-gl-draw/vite.config.js
Stepan Kuzmin d697a50c55
Switch to ESM and NPM (#1242)
* Switch to ESM
* Switch to NPM instead of Yarn
* Switch to the native Node test runner
* Drop the `buble` compiler
* Drop `xtend`, use `Object.assign` instead
* Drop `lodash.isequal`, use `fast-deep-equal` instead
2024-06-28 16:21:37 +03:00

18 lines
260 B
JavaScript

export default {
root: 'debug/',
base: '/debug/',
envPrefix: 'MAPBOX_',
server: {
host: '0.0.0.0',
port: 9967,
strictPort: true,
},
optimizeDeps: {
esbuildOptions: {
define: {
global: 'globalThis'
}
}
}
};