Skip to content

Commit

Permalink
fix(mini-runner): 修复使用 sass 打包项目时多端样式失效的问题,close #6218
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed May 13, 2020
1 parent 6653930 commit a4766ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/taro-mini-runner/src/webpack/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit a4766ac

Please sign in to comment.