From 0cf5651a77597ea821defa661c8f0248e352d0b1 Mon Sep 17 00:00:00 2001 From: benectic Date: Tue, 28 Sep 2021 16:47:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20common.wxss=20?= =?UTF-8?q?=E5=BE=AA=E7=8E=AF=E5=BC=95=E7=94=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')))