Spaces:
Running
Running
File size: 586 Bytes
4fb0c68 b7c8381 4fb0c68 b7c8381 4fb0c68 f6c0cf0 305b744 d243f83 7f37689 0f1aae0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { viteStaticCopy } from 'vite-plugin-static-copy';
export default defineConfig({
plugins: [
react(),
viteStaticCopy({
targets: [
{
src: 'public/_headers',
dest: ''
}
]
})
],
build: {
outDir: 'dist',
rollupOptions: {
output: {
entryFileNames: 'assets/[name].js',
chunkFileNames: 'assets/[name].js',
assetFileNames: 'assets/[name].[ext]',
},
},
},
server: {
port: 5000,
},
});
|