22 lines
410 B
TypeScript
22 lines
410 B
TypeScript
import vue from '@vitejs/plugin-vue'
|
|
import path from 'path'
|
|
import { defineConfig } from 'vite'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
build: {
|
|
rollupOptions: {
|
|
input: {
|
|
index: 'index.html',
|
|
'feature-flow': 'feature-flow.html'
|
|
}
|
|
}
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
'node-fetch': 'isomorphic-fetch'
|
|
}
|
|
}
|
|
})
|