Skip to content

Commit 240d9b6

Browse files
committed
docs: update deprecated babel plugin
1 parent bee3753 commit 240d9b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/babel-config.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = {
3434

3535
- `@babel/plugin-transform-runtime`
3636
- `@babel/plugin-proposal-decorators`
37-
- `@babel/plugin-proposal-class-properties`
37+
- `@babel/plugin-transform-class-properties`
3838
- `babel-plugin-dynamic-import-node`(小程序环境)
3939

4040
#### 2. React
@@ -166,7 +166,7 @@ import 'core-js/modules/es.string.pad-end'
166166

167167
**默认值**`false`
168168

169-
同时是 `@babel/preset-env``@babel/plugin-proposal-class-properties``loose` 配置项。
169+
同时是 `@babel/preset-env``@babel/plugin-transform-class-properties``loose` 配置项。
170170

171171
### debug
172172

0 commit comments

Comments
 (0)