New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-minify-replace

Package Overview
Dependencies
Maintainers
4
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-minify-replace - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "babel-plugin-minify-replace",
"version": "0.0.1",
"version": "0.0.2",
"description": "",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/babel/babili#readme",

@@ -46,3 +46,3 @@ # babel-plugin-minify-replace

```sh
$ npm install babel-plugin-minify-replace
npm install babel-plugin-minify-replace
```

@@ -61,12 +61,18 @@

}
```
// with plugins
```json
// with options
{
"plugins": ["minify-replace", {
"identifierName": "__DEV__",
"replacement": {
"type": "booleanLiteral",
"value": true
}
}]
"plugins": [
["minify-replace", {
"replacements": [{
"identifierName": "__DEV__",
"replacement": {
"type": "booleanLiteral",
"value": true
}
}]
}]
]
}

@@ -78,3 +84,3 @@ ```

```sh
$ babel --plugins minify-replace script.js
babel --plugins minify-replace script.js
```

@@ -81,0 +87,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc