Implement @babel/plugin-transform-react-pure-annotations (#11428)
The new plugin is also enabled in `@babel/preset-react`
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "@babel/plugin-transform-react-pure-annotations",
|
||||
"version": "7.9.4",
|
||||
"description": "Mark top-level React method calls as pure for tree shaking",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-react-pure",
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"main": "lib/index.js",
|
||||
"keywords": [
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-annotate-as-pure": "^7.8.3",
|
||||
"@babel/helper-plugin-utils": "^7.8.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.9.0",
|
||||
"@babel/helper-plugin-test-runner": "^7.8.3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user