lasthourcloud/vite.config.js
Andras Bacsai bad84289c4
v1.0.6 (#30)
Features:
- Rust support 🦀 (Thanks to @pepoviola)
- Add a default rewrite rule to PHP apps (to index.php)
- Able to control upgrades in a straightforward way

Fixes:
- Improved upgrade scripts
- Simplified prechecks before deployment
- Fixed path deployments
- Fixed already defined apps redirections
- Better error handling - still needs a lot of improvement here!
2021-04-15 22:40:44 +02:00

37 lines
736 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',
'@iarna/toml'
]
},
proxy: {
'/api': 'http://127.0.0.1:3001/'
}
}