rollup-plugin-babel
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -54,3 +54,3 @@ 'use strict'; | ||
options.plugins = options.plugins ? options.plugins.concat( importHelperPlugin ) : [ importHelperPlugin ]; | ||
options.plugins = [ importHelperPlugin ].concat(options.plugins || []); | ||
@@ -57,0 +57,0 @@ var check = babelCore.transform( 'export default class Foo {}', options ).code; |
@@ -52,3 +52,3 @@ import { dirname, join } from 'path'; | ||
options.plugins = options.plugins ? options.plugins.concat( importHelperPlugin ) : [ importHelperPlugin ]; | ||
options.plugins = [ importHelperPlugin ].concat(options.plugins || []); | ||
@@ -55,0 +55,0 @@ var check = transform( 'export default class Foo {}', options ).code; |
{ | ||
"name": "rollup-plugin-babel", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "Seamless integration between Rollup and Babel.", | ||
@@ -44,2 +44,3 @@ "main": "dist/rollup-plugin-babel.cjs.js", | ||
"babel-plugin-transform-decorators": "^6.24.1", | ||
"babel-plugin-transform-decorators-legacy": "^1.3.4", | ||
"babel-plugin-transform-runtime": "^6.23.0", | ||
@@ -46,0 +47,0 @@ "babel-preset-es2015": "6.24.1", |
@@ -18,3 +18,3 @@ import { join } from 'path'; | ||
options.plugins = options.plugins ? options.plugins.concat( importHelperPlugin ) : [ importHelperPlugin ]; | ||
options.plugins = [ importHelperPlugin ].concat(options.plugins || []); | ||
@@ -21,0 +21,0 @@ const check = transform( 'export default class Foo {}', options ).code; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27584
13