13 lines
355 B
JavaScript
13 lines
355 B
JavaScript
const { defineConfig } = require('@vue/cli-service');
|
|
const WebpackBar = require('webpackbar');
|
|
module.exports = defineConfig({
|
|
transpileDependencies: true,
|
|
configureWebpack: {
|
|
plugins: [
|
|
// 设置进度条颜色
|
|
new WebpackBar({ color: '#F6DCE0', profile: true }),
|
|
],
|
|
},
|
|
publicPath: process.env.NODE_ENV === 'production' ? './' : './',
|
|
});
|