...
|
...
|
@@ -6,10 +6,10 @@ module.exports = { |
|
|
env: {
|
|
|
NODE_ENV: '"production"'
|
|
|
},
|
|
|
index: path.resolve(__dirname, `./bundle/${pkg.version}/index.html`),
|
|
|
assetsRoot: path.resolve(__dirname, './bundle'),
|
|
|
index: path.resolve(__dirname, `../../public/dist/${pkg.name}/${pkg.version}/index.html`),
|
|
|
assetsRoot: path.resolve(__dirname, `../../public/dist/${pkg.name}/`),
|
|
|
assetsSubDirectory: 'static',
|
|
|
assetsPublicPath: 'https://cdn.yoho.cn/yoho-shop-manage/',
|
|
|
assetsPublicPath: '//cdn.yoho.cn/yoho-shop-manage/',
|
|
|
productionSourceMap: true,
|
|
|
productionGzip: false,
|
|
|
productionGzipExtensions: ['js', 'css'],
|
...
|
...
|
|