mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
Update use-in-typescript.zh-CN.md
react-app-rewire的less插件说明用例缺少env参数
This commit is contained in:
parent
a3c53523c2
commit
6cdaa03c7f
@ -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 =>
|
||||
|
Loading…
Reference in New Issue
Block a user