12 lines
419 B
TypeScript
12 lines
419 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import { fileURLToPath, URL } from 'node:url'
|
|
|
|
export default defineConfig({
|
|
root: fileURLToPath(new URL('.', import.meta.url)),
|
|
plugins: [vue()],
|
|
resolve: { alias: { vue: 'vue/dist/vue.esm-bundler.js' } },
|
|
build: { outDir: 'dist', emptyOutDir: true, sourcemap: false },
|
|
server: { host: '127.0.0.1', port: 34116, strictPort: true },
|
|
})
|