layui/example/vite.config.ts
2021-11-23 11:08:40 +08:00

13 lines
243 B
TypeScript

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,
})