summaryrefslogtreecommitdiff
path: root/node_modules/babel-plugin-transform-remove-debugger/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/babel-plugin-transform-remove-debugger/README.md')
-rw-r--r--node_modules/babel-plugin-transform-remove-debugger/README.md48
1 files changed, 48 insertions, 0 deletions
diff --git a/node_modules/babel-plugin-transform-remove-debugger/README.md b/node_modules/babel-plugin-transform-remove-debugger/README.md
new file mode 100644
index 00000000..2026075f
--- /dev/null
+++ b/node_modules/babel-plugin-transform-remove-debugger/README.md
@@ -0,0 +1,48 @@
+# babel-plugin-transform-remove-debugger
+
+This plugin removes all `debugger;` statements.
+
+## Example
+
+**In**
+
+```javascript
+debugger;
+```
+
+**Out**
+
+```javascript
+```
+
+## Installation
+
+```sh
+npm install babel-plugin-transform-remove-debugger --save-dev
+```
+
+## Usage
+
+### Via `.babelrc` (Recommended)
+
+**.babelrc**
+
+```json
+{
+ "plugins": ["transform-remove-debugger"]
+}
+```
+
+### Via CLI
+
+```sh
+babel --plugins transform-remove-debugger script.js
+```
+
+### Via Node API
+
+```javascript
+require("@babel/core").transform("code", {
+ plugins: ["transform-remove-debugger"]
+});
+```