Skip to content

Commit b7b96b4

Browse files
committed
fix: babel default config
1 parent ab0d5e8 commit b7b96b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/babel.web.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
],
1212
"plugins": [
1313
["@babel/plugin-proposal-decorators", { "legacy": true }],
14-
["@babel/plugin-proposal-class-properties", { "loose": true }],
14+
["@babel/plugin-proposal-class-properties", { "loose": false }],
1515
"@babel/plugin-proposal-async-generator-functions",
1616
"@babel/plugin-proposal-object-rest-spread",
1717
"@babel/plugin-transform-object-assign",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "easywebpack-react",
3-
"version": "5.0.0",
3+
"version": "5.0.1",
44
"description": "React client render and server side render build solution for Webpack",
55
"keywords": [
66
"webpack",

0 commit comments

Comments
 (0)