Skip to content

Commit

Permalink
Update use-in-typescript.zh-CN.md
Browse files Browse the repository at this point in the history
react-app-rewire的less插件说明用例缺少env参数
  • Loading branch information
zhouzhih authored and afc163 committed Jan 8, 2018
1 parent a3c5352 commit 6cdaa03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/react/use-in-typescript.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ $ yarn add react-app-rewire-less --dev
const { getLoader } = require("react-app-rewired");
+ const rewireLess = require('react-app-rewire-less');

module.exports = function override(config) {
module.exports = function override(config,env) {
const tsLoader = getLoader(
config.module.rules,
rule =>
Expand Down

0 comments on commit 6cdaa03

Please sign in to comment.