From a4766acac471a70a156bd2363d7afb48554ed484 Mon Sep 17 00:00:00 2001 From: luckyadam Date: Tue, 12 May 2020 23:26:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(mini-runner):=20=E4=BF=AE=E5=A4=8D=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=20sass=20=E6=89=93=E5=8C=85=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E6=97=B6=E5=A4=9A=E7=AB=AF=E6=A0=B7=E5=BC=8F=E5=A4=B1=E6=95=88?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=8Cclose=20#6218?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-mini-runner/src/webpack/chain.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/taro-mini-runner/src/webpack/chain.ts b/packages/taro-mini-runner/src/webpack/chain.ts index 6e601cd18121..ebe2e053fb8e 100644 --- a/packages/taro-mini-runner/src/webpack/chain.ts +++ b/packages/taro-mini-runner/src/webpack/chain.ts @@ -257,7 +257,8 @@ export const getModule = (appPath: string, { ]) const sassLoader = getSassLoader([{ sourceMap: true, - implementation: sass + implementation: sass, + outputStyle: 'expanded' }, sassLoaderOption]) const lessLoader = getLessLoader([{ sourceMap: enableSourceMap }, lessLoaderOption])