Skip to content

Commit 5ccc77e

Browse files
Archive @babel/plugin-synrax-export-namespace-from
1 parent 41686fb commit 5ccc77e

5 files changed

Lines changed: 80 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
src
2+
test
3+
*.log
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
MIT License
2+
3+
Copyright (c) 2014-present Sebastian McKenzie and other contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining
6+
a copy of this software and associated documentation files (the
7+
"Software"), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
12+
13+
The above copyright notice and this permission notice shall be
14+
included in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# @babel/plugin-syntax-export-namespace-from
2+
3+
> Allow parsing of export namespace from
4+
5+
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.
6+
7+
## Install
8+
9+
Using npm:
10+
11+
```sh
12+
npm install --save-dev @babel/plugin-syntax-export-namespace-from
13+
```
14+
15+
or using yarn:
16+
17+
```sh
18+
yarn add @babel/plugin-syntax-export-namespace-from --dev
19+
```
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "@babel/plugin-syntax-export-namespace-from",
3+
"version": "7.8.3",
4+
"description": "Allow parsing of export namespace from",
5+
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-export-namespace-from",
6+
"license": "MIT",
7+
"publishConfig": {
8+
"access": "public"
9+
},
10+
"main": "lib/index.js",
11+
"keywords": [
12+
"babel-plugin"
13+
],
14+
"dependencies": {
15+
"@babel/helper-plugin-utils": "^7.8.3"
16+
},
17+
"peerDependencies": {
18+
"@babel/core": "^7.0.0-0"
19+
},
20+
"devDependencies": {
21+
"@babel/core": "^7.8.3"
22+
}
23+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { declare } from "@babel/helper-plugin-utils";
2+
3+
export default declare(api => {
4+
api.assertVersion(7);
5+
6+
return {
7+
name: "syntax-export-namespace-from",
8+
9+
manipulateOptions(opts, parserOpts) {
10+
parserOpts.plugins.push("exportNamespaceFrom");
11+
},
12+
};
13+
});

0 commit comments

Comments
 (0)