mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 16:26:25 +00:00
53def01b51
* update loose files and add vitest * update test scripts * more support for vitest * more test support * update vscode settings
19 lines
374 B
JavaScript
19 lines
374 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: true
|
|
},
|
|
esbuild: {
|
|
pure: mode === 'production' ? [ 'console.log' ] : [],
|
|
keepNames: true,
|
|
},
|
|
}
|
|
})
|