20 lines
515 B
JavaScript
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() : () => {}
|
|
// ]
|
|
// }
|
|
})
|