joplin-multi-note-viewer/client/vite.config.js

23 lines
461 B
JavaScript
Raw Normal View History

2022-02-21 18:04:18 +00:00
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
server: {
proxy: {
'/api/v1': 'http://localhost:8181'
}
},
build: {
rollupOptions: {
output: {
entryFileNames: '[name].js',
chunkFileNames: '[name].js',
assetFileNames: '[name][extname]',
manualChunks: () => 'everything.js'
}
}
}
})