shrub/pkg/interface/dbug/vite.config.ts
fang 614fcdf537
debug: build using vite, remove gulp
Forget flavor-of-the-month, gulp expired _years_ ago.
2024-04-05 21:03:18 +02:00

19 lines
393 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
const rollupOptions = {
output: {
assetFileNames: '[name][extname]',
chunkFileNames: '[name].js',
entryFileNames: '[name].js',
hashCharacters: 'base36' as any
}
};
// https://vitejs.dev/config/
export default defineConfig({
base: '/~debug',
build: {rollupOptions},
plugins: [react()],
})