pokerogue/vite.config.js

19 lines
374 B
JavaScript
Raw Permalink Normal View History

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