diff --git a/src/index.ts b/src/index.ts index 1af79cc..36ec567 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,7 +11,7 @@ export default ctx => { Object.keys(assets).forEach(filename => { const isWxss = wxssReg.test(filename) - if (isWxss && filename !== 'app.wxss') { + if (isWxss && filename !== 'app.wxss' && filename !== 'common.wxss') { const source = new ConcatSource() const originSource = assets[filename].source() const relativePath = JSON.stringify(promoteRelativePath(path.relative(filename, 'app.wxss')))