Commit a3b4181a by zhangmeng

fix pack bug

parent 5215e897
......@@ -19,6 +19,12 @@ const env =
: require("../config/prod.env");
// console.log(webpack.optimize);
const webpackConfig = merge(baseWebpackConfig, {
mode: 'production',
performance: {
hints:false
},
module: {
rules: utils
.styleLoaders({
......
......@@ -49,7 +49,8 @@ module.exports = {
// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: '../../static',
assetsSubDirectory: 'static',
// assetsSubDirectory: '../../static',
assetsPublicPath: './',
publicPath: '../../',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment