pokerogue/vite.config.js

19 lines
375 B
JavaScript
Raw Normal View History

2023-04-03 17:47:41 -07:00
import { defineConfig } from 'vite';
// import fs from 'vite-plugin-fs';
2023-03-28 11:54:52 -07:00
export default defineConfig(({ mode }) => {
return {
plugins: [/*fs()*/],
server: { host: '0.0.0.0', port: 8000 },
clearScreen: false,
build: {
minify: 'esbuild',
2024-04-28 20:21:22 -07:00
sourcemap: false
},
esbuild: {
pure: mode === 'production' ? [ 'console.log' ] : [],
keepNames: true,
},
}
2023-03-28 11:54:52 -07:00
})