From 26105034da4fcce7ac883c899d781f016559310d Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 8 Nov 2018 00:38:48 +0800 Subject: switch to vuepress --- .../babel-plugin-syntax-dynamic-import/README.md | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 node_modules/babel-plugin-syntax-dynamic-import/README.md (limited to 'node_modules/babel-plugin-syntax-dynamic-import/README.md') diff --git a/node_modules/babel-plugin-syntax-dynamic-import/README.md b/node_modules/babel-plugin-syntax-dynamic-import/README.md new file mode 100644 index 00000000..47279fcd --- /dev/null +++ b/node_modules/babel-plugin-syntax-dynamic-import/README.md @@ -0,0 +1,35 @@ +# babel-plugin-syntax-dynamic-import + +Allow parsing of `import()`. + +## Installation + +```sh +$ npm install babel-plugin-syntax-dynamic-import +``` + +## Usage + +### Via `.babelrc` (Recommended) + +**.babelrc** + +```json +{ + "plugins": ["syntax-dynamic-import"] +} +``` + +### Via CLI + +```sh +$ babel --plugins syntax-dynamic-import script.js +``` + +### Via Node API + +```javascript +require("babel-core").transform("code", { + plugins: ["syntax-dynamic-import"] +}); +``` -- cgit v1.2.3