You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.
this is the part of my generated code with babelHelpers :
varbabelHelpers={};var_typeof=typeofSymbol==="function"&&typeofSymbol.iterator==="symbol" ? function(obj){returntypeofobj;} : function(obj){returnobj&&typeofSymbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype ? "symbol" : typeofobj;};varclassCallCheck=function(instance,Constructor){if(!(instanceinstanceofConstructor)){thrownewTypeError("Cannot call a class as a function");}};varcreateClass=function(){functiondefineProperties(target,props){for(vari=0;i<props.length;i++){vardescriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"indescriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}returnfunction(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);returnConstructor;};}();varinherits=function(subClass,superClass){if(typeofsuperClass!=="function"&&superClass!==null){thrownewTypeError("Super expression must either be null or a function, not "+typeofsuperClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor: {value: subClass,enumerable: false,writable: true,configurable: true}});if(superClass)Object.setPrototypeOf ? Object.setPrototypeOf(subClass,superClass) : subClass.__proto__=superClass;};varpossibleConstructorReturn=function(self,call){if(!self){thrownewReferenceError("this hasn't been initialised - super() hasn't been called");}returncall&&(typeofcall==="object"||typeofcall==="function") ? call : self;};babelHelpers;
those lines aren't relevant :
varbabelHelpers={};babelHelpers;
The text was updated successfully, but these errors were encountered:
Johann-S
changed the title
Using externalHelpersWhitelist and style have a babelHelper var
Using externalHelpersWhitelist and style have a babelHelpers var
Aug 31, 2017
Johann-S
changed the title
Using externalHelpersWhitelist and style have a babelHelpers var
Using externalHelpersWhitelist and still have a babelHelpers var
Aug 31, 2017
Hi,
When I use the
externalHelpersWhitelist
option I still have ababelHelpers
var created in my generated code but this var is useless.if you need I can add my
.babelrc
or myrollup.config.js
(or you can find them here : twbs/bootstrap#23735)IMO it's due to this line : https://github.com/rollup/rollup-plugin-babel/blob/master/src/index.js#L48 which only remove :
babelHelpers.
this is the part of my generated code with
babelHelpers
:those lines aren't relevant :
The text was updated successfully, but these errors were encountered: