sepia-search-motore-di-rice.../client/vite.config.ts

20 lines
356 B
TypeScript
Raw Normal View History

2022-02-23 15:21:02 +01:00
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
2022-12-16 14:44:54 +01:00
import { visualizer } from 'rollup-plugin-visualizer'
import { resolve } from 'path'
2022-02-23 15:21:02 +01:00
export default defineConfig({
2022-12-16 14:44:54 +01:00
plugins: [
vue(),
visualizer({ open: true })
],
2022-02-23 15:21:02 +01:00
server: {
port: 8080
2022-12-16 14:44:54 +01:00
},
resolve:{
alias: {
'@': resolve(__dirname, 'src')
}
2022-02-23 15:21:02 +01:00
}
})