Socket
Socket
Sign inDemoInstall

@parcel/babel-preset

Package Overview
Dependencies
212
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-alpha.1.1 to 2.0.0-alpha.2

15

index.js

@@ -18,3 +18,16 @@ module.exports = () => ({

require('@babel/plugin-proposal-optional-chaining')
]
],
env: {
production: {
plugins: [
// Inline the value of PARCEL_BUILD_ENV during production builds so that
// it can be removed through dead code elimination below
[
'babel-plugin-transform-inline-environment-variables',
{include: ['PARCEL_BUILD_ENV']}
],
'babel-plugin-minify-dead-code-elimination'
]
}
}
});

6

package.json
{
"name": "@parcel/babel-preset",
"version": "2.0.0-alpha.1.1",
"version": "2.0.0-alpha.2",
"license": "MIT",

@@ -12,2 +12,4 @@ "dependencies": {

"@babel/preset-react": "^7.0.0",
"babel-plugin-minify-dead-code-elimination": "^0.5.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"read-pkg-up": "^4.0.0"

@@ -18,3 +20,3 @@ },

},
"gitHead": "8f9c49c1c53753b1139501cc4090cd4b1ab5ac0b",
"gitHead": "aa2619af0a50fecbab024d30521391814560337f",
"publishConfig": {

@@ -21,0 +23,0 @@ "access": "public"

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc