layui/example/vite.config.ts

13 lines
243 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: {
'/@src': path.resolve(__dirname, '../src'),
},
},
plugins,
})