rollup-plugin-babel
Advanced tools
Comparing version 3.0.6 to 3.0.7
@@ -132,5 +132,3 @@ 'use strict'; | ||
"\n\nexport { " + (keywordHelpers.map( function (word) { return ("_" + word + " as " + word); }).join( ', ')) + " }"; | ||
// Apply babel transforming on helpers, in case ES5/ES3 transform plugins are set in options. | ||
helpers = babelCore.transform( helpers, options ).code; | ||
return helpers; | ||
@@ -137,0 +135,0 @@ } |
@@ -130,5 +130,3 @@ import { dirname, join } from 'path'; | ||
"\n\nexport { " + (keywordHelpers.map( function (word) { return ("_" + word + " as " + word); }).join( ', ')) + " }"; | ||
// Apply babel transforming on helpers, in case ES5/ES3 transform plugins are set in options. | ||
helpers = transform( helpers, options ).code; | ||
return helpers; | ||
@@ -135,0 +133,0 @@ } |
{ | ||
"name": "rollup-plugin-babel", | ||
"version": "3.0.6", | ||
"version": "3.0.7", | ||
"description": "Seamless integration between Rollup and Babel.", | ||
@@ -5,0 +5,0 @@ "main": "dist/rollup-plugin-babel.cjs.js", |
@@ -51,3 +51,3 @@ import { dirname } from 'path'; | ||
let helpers = buildExternalHelpers( externalHelpersWhitelist, 'var' ) | ||
const helpers = buildExternalHelpers( externalHelpersWhitelist, 'var' ) | ||
.replace(/^var babelHelpers = \{\};\n/gm, '') | ||
@@ -58,5 +58,3 @@ .replace(/\nbabelHelpers;$/gm, '') | ||
`\n\nexport { ${keywordHelpers.map( word => `_${word} as ${word}`).join( ', ')} }`; | ||
// Apply babel transforming on helpers, in case ES5/ES3 transform plugins are set in options. | ||
helpers = transform( helpers, options ).code; | ||
return helpers; | ||
@@ -63,0 +61,0 @@ } |
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
27877
417