Archive @babel/plugin-syntax-export-namespace-from (#11236)
* Archive @babel/plugin-syntax-export-namespace-from
Enabled by default in https://github.com/babel/babel/pull/10521
5ccc77e287
* Fix tests
This commit is contained in:
parent
f9d4b799b7
commit
cbbf0bc6ac
@ -8,6 +8,7 @@ const externalBabelPackages = [
|
||||
"plugin-syntax-object-rest-spread",
|
||||
"plugin-syntax-optional-catch-binding",
|
||||
"plugin-syntax-optional-chaining",
|
||||
"plugin-syntax-export-namespace-from",
|
||||
];
|
||||
|
||||
// prettier-ignore
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
src
|
||||
test
|
||||
*.log
|
||||
@ -1,19 +0,0 @@
|
||||
# @babel/plugin-syntax-export-namespace-from
|
||||
|
||||
> Allow parsing of export namespace from
|
||||
|
||||
See our website [@babel/plugin-syntax-export-namespace-from](https://babeljs.io/docs/en/next/babel-plugin-syntax-export-namespace-from.html) for more information.
|
||||
|
||||
## Install
|
||||
|
||||
Using npm:
|
||||
|
||||
```sh
|
||||
npm install --save-dev @babel/plugin-syntax-export-namespace-from
|
||||
```
|
||||
|
||||
or using yarn:
|
||||
|
||||
```sh
|
||||
yarn add @babel/plugin-syntax-export-namespace-from --dev
|
||||
```
|
||||
@ -1,23 +0,0 @@
|
||||
{
|
||||
"name": "@babel/plugin-syntax-export-namespace-from",
|
||||
"version": "7.8.3",
|
||||
"description": "Allow parsing of export namespace from",
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-export-namespace-from",
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"main": "lib/index.js",
|
||||
"keywords": [
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "^7.8.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.8.3"
|
||||
}
|
||||
}
|
||||
@ -1,13 +0,0 @@
|
||||
import { declare } from "@babel/helper-plugin-utils";
|
||||
|
||||
export default declare(api => {
|
||||
api.assertVersion(7);
|
||||
|
||||
return {
|
||||
name: "syntax-export-namespace-from",
|
||||
|
||||
manipulateOptions(opts, parserOpts) {
|
||||
parserOpts.plugins.push("exportNamespaceFrom");
|
||||
},
|
||||
};
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user