shrub/pkg/interface/dbug/vite.config.ts

19 lines
393 B
TypeScript
Raw Normal View History

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()],
})