Browse Source

修改打包图片路径

develop
zq 1 day ago
parent
commit
99843c9b0d
  1. 2
      build/webpack.config.js
  2. 9
      packages/styles/component.scss

2
build/webpack.config.js

@ -86,7 +86,7 @@ module.exports = {
limit: 4096, limit: 4096,
name: 'img/[name].[hash:8].[ext]', name: 'img/[name].[hash:8].[ext]',
esModule: false, esModule: false,
publicPath: '../' publicPath: './'
} }
}] }]
} }

9
packages/styles/component.scss

@ -190,7 +190,8 @@
display: inline-flex; display: inline-flex;
} }
.svg-icon>>>svg { }
fill: currentColor;
} // .guip-svg-icon-wrapper .svg-icon>>>svg {
} // fill: currentColor;
// }
Loading…
Cancel
Save