Skip to content

Commit e2393d1

Browse files
committed
[README] update example
1 parent a2737e0 commit e2393d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ cfg.webpack.plugins.push(
7171
cfg.webpack.module.rules[0].include = [
7272
path.join(rootPath, srcDir + '/app'),
7373
];
74+
75+
cfg.webpack.module.rules[0].use.presets.push('@babel/preset-react');
7476
```
7577

7678
You can overwrite:

0 commit comments

Comments
 (0)