lasthourcloud/vite.config.js
Andras Bacsai 142b83cc13
v1.0.7 (#32)
New features:
- Automatic error reporting (enabled by default)
- Increase build times by leveraging docker build caches
- 
Fixes:
- Fix error handling
- Fix vue autodetect
- Custom dockerfile is not the default

Others:
- Cleanup `logs-servers` collection, because old errors are not standardized
- New Traefik proxy version
- Standardized directory configurations
2021-04-19 09:46:05 +02:00

39 lines
779 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',
'http-errors-enhanced',
'ajv'
]
},
proxy: {
'/api': 'http://127.0.0.1:3001/'
}
}