mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2024-12-15 14:31:44 +03:00
26 lines
435 B
TypeScript
26 lines
435 B
TypeScript
|
import { resolve } from 'path'
|
||
|
import { defineConfig } from 'vite'
|
||
|
import vue from '@vitejs/plugin-vue'
|
||
|
|
||
|
export default defineConfig(({ mode }) => {
|
||
|
return {
|
||
|
plugins: [vue()],
|
||
|
base: "",
|
||
|
server: {
|
||
|
port: 3001,
|
||
|
},
|
||
|
/**
|
||
|
* DESC:
|
||
|
* defining aliases
|
||
|
*/
|
||
|
resolve: {
|
||
|
alias: [
|
||
|
{
|
||
|
find: '@',
|
||
|
replacement: resolve(__dirname, './src'),
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
}
|
||
|
})
|