TastyBites/front/vite.config.js

19 lines
361 B
JavaScript

import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
// https://vitejs.dev/config/
export default defineConfig({
base: './',
plugins: [
svelte(),
],
optimizeDeps: {
exclude: ["phosphor-svelte"],
},
resolve: {
alias: {
'%': __dirname + '/src',
}
},
})