rollup-plugin-babel
Advanced tools
Comparing version 2.5.1 to 2.6.0
# rollup-plugin-babel changelog | ||
## 2.6.0 | ||
* Use `\0` convention for helper module ID ([#64](https://github.com/rollup/rollup-plugin-babel/issues/64)) | ||
## 2.5.1 | ||
@@ -4,0 +8,0 @@ |
@@ -28,3 +28,3 @@ 'use strict'; | ||
var HELPERS = '__babelHelpers__'; | ||
var HELPERS = '\0babelHelpers'; | ||
@@ -91,3 +91,3 @@ var preflightCheckResults = {}; | ||
var helpers = babelCore.buildExternalHelpers( null, 'var' ) | ||
.replace( pattern, 'export var _$1' ) | ||
.replace( pattern, 'var _$1' ) | ||
.replace( /^babelHelpers\./gm, 'export var ' ) + | ||
@@ -94,0 +94,0 @@ "\n\nexport { " + (keywordHelpers.map( function (word) { return ("_" + word + " as " + word); }).join( ', ')) + " }"; |
@@ -24,3 +24,3 @@ import { dirname, join } from 'path'; | ||
var HELPERS = '__babelHelpers__'; | ||
var HELPERS = '\0babelHelpers'; | ||
@@ -87,3 +87,3 @@ var preflightCheckResults = {}; | ||
var helpers = buildExternalHelpers( null, 'var' ) | ||
.replace( pattern, 'export var _$1' ) | ||
.replace( pattern, 'var _$1' ) | ||
.replace( /^babelHelpers\./gm, 'export var ' ) + | ||
@@ -90,0 +90,0 @@ "\n\nexport { " + (keywordHelpers.map( function (word) { return ("_" + word + " as " + word); }).join( ', ')) + " }"; |
{ | ||
"name": "rollup-plugin-babel", | ||
"version": "2.5.1", | ||
"version": "2.6.0", | ||
"description": "Seamless integration between Rollup and Babel.", | ||
@@ -35,3 +35,3 @@ "main": "dist/rollup-plugin-babel.cjs.js", | ||
"object-assign": "^4.1.0", | ||
"rollup-pluginutils": "^1.3.1" | ||
"rollup-pluginutils": "^1.5.0" | ||
}, | ||
@@ -46,3 +46,3 @@ "devDependencies": { | ||
"mocha": "^2.5.3", | ||
"rollup": "^0.27.0", | ||
"rollup": "^0.29.0", | ||
"rollup-plugin-buble": "^0.10.0", | ||
@@ -49,0 +49,0 @@ "source-map": "^0.5.6" |
@@ -5,2 +5,2 @@ export const INLINE = {}; | ||
export const HELPERS = '__babelHelpers__'; | ||
export const HELPERS = '\0babelHelpers'; |
@@ -39,3 +39,3 @@ import { dirname } from 'path'; | ||
const helpers = buildExternalHelpers( null, 'var' ) | ||
.replace( pattern, 'export var _$1' ) | ||
.replace( pattern, 'var _$1' ) | ||
.replace( /^babelHelpers\./gm, 'export var ' ) + | ||
@@ -42,0 +42,0 @@ `\n\nexport { ${keywordHelpers.map( word => `_${word} as ${word}`).join( ', ')} }`; |
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
18173
Updatedrollup-pluginutils@^1.5.0