diff options
Diffstat (limited to 'node_modules/@babel/plugin-syntax-decorators/README.md')
| -rw-r--r-- | node_modules/@babel/plugin-syntax-decorators/README.md | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/node_modules/@babel/plugin-syntax-decorators/README.md b/node_modules/@babel/plugin-syntax-decorators/README.md deleted file mode 100644 index a0627557..00000000 --- a/node_modules/@babel/plugin-syntax-decorators/README.md +++ /dev/null @@ -1,43 +0,0 @@ -# @babel/plugin-syntax-decorators - -> Allow parsing of decorators. - -## Installation - -```sh -npm install --save-dev @babel/plugin-syntax-decorators -``` - -## Usage - -### Via `.babelrc` (Recommended) - -**.babelrc** - -```json -{ - "plugins": ["@babel/plugin-syntax-decorators"] -} -``` - -### Via CLI - -```sh -babel --plugins @babel/plugin-syntax-decorators script.js -``` - -### Via Node API - -```javascript -require("@babel/core").transform("code", { - plugins: ["@babel/plugin-syntax-decorators"] -}); -``` - -## Options - -### `legacy` - -`boolean`, defaults to `false`. - -Use the legacy (stage 1) decorators syntax. |
