You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
439 B
JavaScript
14 lines
439 B
JavaScript
2 weeks ago
|
import {defineConfig} from 'vite'
|
||
|
import vue from '@vitejs/plugin-vue'
|
||
|
import path from 'path';
|
||
|
import basicSsl from '@vitejs/plugin-basic-ssl';
|
||
|
|
||
|
// https://vite.dev/config/
|
||
|
export default defineConfig({
|
||
|
plugins: [vue(), basicSsl()], resolve: {
|
||
|
alias: {
|
||
|
'~': path.resolve(__dirname, './'), '@': path.resolve(__dirname, 'src')
|
||
|
}, extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue']
|
||
|
},
|
||
|
})
|