mirror of
https://github.com/tenrok/maska.git
synced 2026-05-15 11:59:38 +03:00
22 lines
423 B
TypeScript
22 lines
423 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
export default defineConfig({
|
|
base: '',
|
|
build: {
|
|
outDir: 'docs/dist',
|
|
cssCodeSplit: false,
|
|
rollupOptions: {
|
|
input: {
|
|
demo: 'src/index.ts',
|
|
demo_v2: 'src/v2/index.ts'
|
|
},
|
|
output: {
|
|
entryFileNames: '[name].js',
|
|
assetFileNames: '[name][extname]'
|
|
}
|
|
}
|
|
},
|
|
plugins: [vue()]
|
|
})
|