coolify/vite.config.js
2021-03-24 22:11:14 +01:00

36 lines
715 B
JavaScript

module.exports = {
alias: {
'@store': '/src/store.js'
// '/@components/': path.resolve(__dirname, '/src/components'),
},
optimizeDeps: {
exclude: [
'@roxi/routify',
'fastify-static',
'fastify',
'fastify-autoload',
'fastify-jwt',
'dotenv',
'dotenv-extended',
'commander',
'axios',
'fastify-env',
'fastify-plugin',
'mongoose',
'js-yaml',
'shelljs',
'jsonwebtoken',
'deepmerge',
'dockerode',
'dayjs',
'@zerodevx/svelte-toast',
'mongodb-memory-server-core',
'unique-names-generator',
'generate-password'
]
},
proxy: {
'/api': 'http://127.0.0.1:3001/'
}
}