mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 03:14:30 +03:00
19 lines
393 B
TypeScript
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()],
|
||
|
})
|