mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
22 lines
477 B
React
22 lines
477 B
React
|
import { defineConfig } from 'vite';
|
||
|
import react from '@vitejs/plugin-react';
|
||
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
||
|
|
||
|
export default defineConfig({
|
||
|
plugins: [tsconfigPaths(), react()],
|
||
|
server: {
|
||
|
port: 3000,
|
||
|
},
|
||
|
build: {
|
||
|
assetsDir: '',
|
||
|
chunkSizeWarningLimit: 1500,
|
||
|
rollupOptions: {
|
||
|
output: {
|
||
|
// This will output a single bundle file
|
||
|
entryFileNames: 'bundle.js',
|
||
|
chunkFileNames: 'bundle.js'
|
||
|
}
|
||
|
},
|
||
|
},
|
||
|
});
|