layui/example/vite.config.ts

12 lines
241 B
TypeScript
Raw Normal View History

2021-09-27 06:09:33 +08:00
import path from 'path'
import { defineConfig } from 'vite'
import plugins from './src/plugin/common-plugins'
export default defineConfig({
resolve: {
alias: {
2022-01-27 16:18:16 +08:00
'/@src': path.resolve(__dirname, './src'),
2021-09-27 06:09:33 +08:00
},
},
plugins,
2022-01-27 16:18:16 +08:00
})