Skip to content

Commit

Permalink
fix(taro-webpack-runner): 修复 sassLoaderOption 未定义的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Garfield550 authored and luckyadam committed Jan 7, 2020
1 parent 13a6c55 commit 32979c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/taro-webpack-runner/src/util/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { Option, BuildConfig } from './types'

const getSassLoaderOption = async ({ sass, sassLoaderOption }: BuildConfig) => {
let bundledContent = ''
sassLoaderOption = sassLoaderOption || {}
if (!sass) {
return sassLoaderOption
}
Expand Down

0 comments on commit 32979c1

Please sign in to comment.