提交 82a32e1f 编写于 作者: fxy060608's avatar fxy060608

fix(mp): shadow css

上级 c737da3f
......@@ -21,8 +21,7 @@ module.exports = function generateApp (compilation) {
process.env.NODE_ENV === 'production' &&
process.env.UNI_PLATFORM !== 'app-plus'
) {
const entryPage = Object.keys(process.UNI_ENTRY)[1]
const targetCssName = entryPage ? (entryPage + ext) : `common/main${ext}`
const targetCssName = `common/main${ext}`
if (!compilation.assets[targetCssName]) {
compilation.assets[targetCssName] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册