1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00
invoiceninja/vite.config.ts.react

22 lines
491 B
React
Raw Normal View History

2024-06-05 07:14:22 +02:00
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
2024-08-15 00:51:52 +02:00
entryFileNames: 'bundle.[hash].js',
chunkFileNames: 'bundle.[hash].js'
2024-06-05 07:14:22 +02:00
}
},
},
});