mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-24 15:56:22 +00:00
19 lines
375 B
JavaScript
19 lines
375 B
JavaScript
import { defineConfig } from 'vite';
|
|
// import fs from 'vite-plugin-fs';
|
|
|
|
export default defineConfig(({ mode }) => {
|
|
return {
|
|
plugins: [/*fs()*/],
|
|
server: { host: '0.0.0.0', port: 8000 },
|
|
clearScreen: false,
|
|
build: {
|
|
minify: 'esbuild',
|
|
sourcemap: false
|
|
},
|
|
esbuild: {
|
|
pure: mode === 'production' ? [ 'console.log' ] : [],
|
|
keepNames: true,
|
|
},
|
|
}
|
|
})
|