newfront/vue.config.js
2025-04-26 13:46:05 +08:00

20 lines
515 B
JavaScript

const { defineConfig } = require('@vue/cli-service')
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
module.exports = defineConfig({
transpileDependencies: true,
devServer: {
proxy: {
// '/article': {
// target: 'https://newfront.xn--xhq44jb2fzpc.com',
// changeOrigin: true
// }
}
},
// configureWebpack: {
// plugins: [
// process.env.NODE_ENV === 'production' ? new BundleAnalyzerPlugin() : () => {}
// ]
// }
})