|
|
@ -13,7 +13,7 @@ function resolve(dir) { |
|
|
|
|
|
|
|
module.exports = { |
|
|
|
parallel: false, |
|
|
|
publicPath: '/', // 多页面情况 process.env.NODE_ENV === 'production' ? './' : '/',
|
|
|
|
publicPath: process.env.NODE_ENV === 'staging' ? process.env.VUE_APP_BASE_SUF : '/', |
|
|
|
assetsDir: 'static', |
|
|
|
chainWebpack: config => { |
|
|
|
config.entry('main').add('babel-polyfill') |
|
|
|