mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 21:34:24 +00:00
migrate to vite instead of webpack
This commit is contained in:
12
src/webapp/vite.config.js
Normal file
12
src/webapp/vite.config.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
const path = require( 'path' );
|
||||
|
||||
export default defineConfig( {
|
||||
plugins: [vue()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve( __dirname, './src' ),
|
||||
},
|
||||
},
|
||||
} );
|
||||
Reference in New Issue
Block a user