Socket
Socket
Sign inDemoInstall

@rollup/plugin-babel

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rollup/plugin-babel - npm Package Compare versions

Comparing version 5.2.2 to 5.2.3

9

CHANGELOG.md
# @rollup/plugin-babel ChangeLog
## v5.2.3
_2021-01-29_
### Updates
- docs: add usage with commonjs. fixes #622 (6b4b7b6)
- docs: update export in README (#690)
## v5.2.2

@@ -4,0 +13,0 @@

14

package.json
{
"name": "@rollup/plugin-babel",
"version": "5.2.2",
"version": "5.2.3",
"publishConfig": {

@@ -53,2 +53,7 @@ "access": "public"

},
"peerDependenciesMeta": {
"@types/babel__core": {
"optional": true
}
},
"dependencies": {

@@ -86,8 +91,3 @@ "@babel/helper-module-imports": "^7.10.4",

"Mateusz Burzyński <mateuszburzynski@gmail.com> (https://github.com/Andarist)"
],
"peerDependenciesMeta": {
"@types/babel__core": {
"optional": true
}
}
]
}

@@ -42,3 +42,3 @@ [npm]: https://img.shields.io/npm/v/@rollup/plugin-babel

```js
import babel from '@rollup/plugin-babel';
import { babel } from '@rollup/plugin-babel';

@@ -59,2 +59,19 @@ const config = {

### Using With `@rollup/plugin-commonjs`
When using `@rollup/plugin-babel` with `@rollup/plugin-commonjs` in the same Rollup configuration, it's important to note that `@rollup/plugin-commonjs` _must_ be placed before this plugin in the `plugins` array for the two to work together properly. e.g.
```js
import { babel } from '@rollup/plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
const config = {
...
plugins: [
commonjs(),
babel({ babelHelpers: 'bundled' })
],
};
```
## Options

@@ -61,0 +78,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