joplin-multi-note-viewer/client/vite.config.js
2022-02-21 13:04:18 -05:00

23 lines
461 B
JavaScript

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'
}
}
}
})