aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/plugin-syntax-export-namespace-from
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/plugin-syntax-export-namespace-from')
-rw-r--r--node_modules/@babel/plugin-syntax-export-namespace-from/README.md35
-rw-r--r--node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js28
-rw-r--r--node_modules/@babel/plugin-syntax-export-namespace-from/package.json20
3 files changed, 83 insertions, 0 deletions
diff --git a/node_modules/@babel/plugin-syntax-export-namespace-from/README.md b/node_modules/@babel/plugin-syntax-export-namespace-from/README.md
new file mode 100644
index 00000000..6e358a2e
--- /dev/null
+++ b/node_modules/@babel/plugin-syntax-export-namespace-from/README.md
@@ -0,0 +1,35 @@
+# @babel/plugin-syntax-export-namespace-from
+
+> Allow parsing of `export * as namespace from`.
+
+## Installation
+
+```sh
+npm install --save-dev @babel/plugin-syntax-export-namespace-from
+```
+
+## Usage
+
+### Via `.babelrc` (Recommended)
+
+**.babelrc**
+
+```json
+{
+ "plugins": ["@babel/plugin-syntax-export-namespace-from"]
+}
+```
+
+### Via CLI
+
+```sh
+babel --plugins @babel/plugin-syntax-export-namespace-from script.js
+```
+
+### Via Node API
+
+```javascript
+require("@babel/core").transform("code", {
+ plugins: ["@babel/plugin-syntax-export-namespace-from"]
+});
+```
diff --git a/node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js b/node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js
new file mode 100644
index 00000000..d2926c5e
--- /dev/null
+++ b/node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js
@@ -0,0 +1,28 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.default = void 0;
+
+function _helperPluginUtils() {
+ const data = require("@babel/helper-plugin-utils");
+
+ _helperPluginUtils = function _helperPluginUtils() {
+ return data;
+ };
+
+ return data;
+}
+
+var _default = (0, _helperPluginUtils().declare)(api => {
+ api.assertVersion(7);
+ return {
+ manipulateOptions(opts, parserOpts) {
+ parserOpts.plugins.push("exportNamespaceFrom");
+ }
+
+ };
+});
+
+exports.default = _default; \ No newline at end of file
diff --git a/node_modules/@babel/plugin-syntax-export-namespace-from/package.json b/node_modules/@babel/plugin-syntax-export-namespace-from/package.json
new file mode 100644
index 00000000..22965470
--- /dev/null
+++ b/node_modules/@babel/plugin-syntax-export-namespace-from/package.json
@@ -0,0 +1,20 @@
+{
+ "name": "@babel/plugin-syntax-export-namespace-from",
+ "version": "7.0.0-beta.47",
+ "description": "Allow parsing of export namespace from",
+ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-export-namespace-from",
+ "license": "MIT",
+ "main": "lib/index.js",
+ "keywords": [
+ "babel-plugin"
+ ],
+ "dependencies": {
+ "@babel/helper-plugin-utils": "7.0.0-beta.47"
+ },
+ "peerDependencies": {
+ "@babel/core": "7.0.0-beta.47"
+ },
+ "devDependencies": {
+ "@babel/core": "7.0.0-beta.47"
+ }
+}