Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@snowpack/plugin-babel

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snowpack/plugin-babel - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

package.json
{
"name": "@snowpack/plugin-babel",
"version": "2.0.1",
"version": "2.0.2",
"main": "plugin.js",

@@ -12,3 +12,3 @@ "license": "MIT",

},
"gitHead": "3e873397e5093fbfeec88c70a8088f3ee73cc15d"
"gitHead": "020489d90f2d937be1048498de2a9ea209cdd312"
}

@@ -28,2 +28,3 @@ const fs = require('fs');

compact: false,
...(options.transformOptions || {}),
});

@@ -30,0 +31,0 @@ let code = result.code;

@@ -16,3 +16,6 @@ # @snowpack/plugin-babel

{
"input": ['.js', '.mjs', '.jsx', '.ts', '.tsx'] // (optional) specify files for Babel to transform
"input": ['.js', '.mjs', '.jsx', '.ts', '.tsx'], // (optional) specify files for Babel to transform
transformOptions: {
// babel transform options
}
}

@@ -29,1 +32,2 @@ ]

| `input` | `string[]` | (optional) By default, Babel scans & transfoms these extensions: `['.js', '.jsx', '.ts', '.tsx']`. Modify this array if you’d like to change this. |
| `transformOptions` | `object` | (optional) See [https://babeljs.io/docs/en/options](https://babeljs.io/docs/en/options) |
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