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:
Nicolò Ribaudo 2020-03-11 21:50:23 +01:00 committed by GitHub
parent f9d4b799b7
commit cbbf0bc6ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1 additions and 58 deletions

View File

@ -8,6 +8,7 @@ const externalBabelPackages = [
"plugin-syntax-object-rest-spread", "plugin-syntax-object-rest-spread",
"plugin-syntax-optional-catch-binding", "plugin-syntax-optional-catch-binding",
"plugin-syntax-optional-chaining", "plugin-syntax-optional-chaining",
"plugin-syntax-export-namespace-from",
]; ];
// prettier-ignore // prettier-ignore

View File

@ -1,3 +0,0 @@
src
test
*.log

View File

@ -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
```

View File

@ -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"
}
}

View File

@ -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");
},
};
});