Skip to content

Commit 887de63

Browse files
committed
package.json: replaces plugin-proposal-class-properties with plugin-transform-class-properties
1 parent bb2457e commit 887de63

File tree

3 files changed

+264
-21
lines changed

3 files changed

+264
-21
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"presets": ["@babel/preset-env", "@babel/preset-react"],
33
"plugins": [
44
[
5-
"@babel/plugin-proposal-class-properties"
5+
"transform-class-properties"
66
]
77
]
88
}

package-lock.json

Lines changed: 262 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"homepage": "https://github.com/cabrerahector/wordpress-popular-posts#readme",
2525
"devDependencies": {
26-
"@babel/plugin-proposal-class-properties": "^7.18.6",
26+
"babel-plugin-transform-class-properties": "^6.24.1",
2727
"@babel/preset-env": "^7.24.0",
2828
"@babel/preset-react": "^7.23.3",
2929
"@wordpress/scripts": "^27.4.0"

0 commit comments

Comments
 (0)