Files
MixedAssets/vite.config.js
2026-06-03 13:58:12 -05:00

23 lines
409 B
JavaScript

const { defineConfig } = require('vite');
const vue = require('@vitejs/plugin-vue');
module.exports = defineConfig({
plugins: [vue({
template: {
compilerOptions: {
isCustomElement: (tag) => tag.startsWith('fluent-')
}
}
})],
server: {
port: 5173,
proxy: {
'/api': 'http://localhost:3000'
}
},
build: {
outDir: 'dist',
emptyOutDir: true
}
});