blob: 0519993d26fb3970c8a26a0fc88d5ee12b72dd1c [file] [log] [blame]
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
const { resolve } = require('path');
// https://vitejs.dev/config/
export default defineConfig({
base: './',
build: {
rollupOptions: {
input: {
// Use body.html when deploying
main: resolve(__dirname, '_body.html')
}
}
},
plugins: [vue()],
resolve: {
alias: {
'echarts-wordcloud': '/Library/WebServer/Documents/echarts-wordcloud',
echarts: '/Library/WebServer/Documents/echarts'
}
}
});