layui/example/vite.config.ts

12 lines
241 B
TypeScript
Raw Normal View History

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