Skip to content

Commit

Permalink
Treat loader.forceES5 as true by default
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mujica committed Mar 5, 2019
1 parent 64b099d commit 9685d61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/graph/transpile.js
Expand Up @@ -48,7 +48,7 @@ var transpileNode = function(node, outputFormat, options, graph, loader){

transformActiveSource(node, key(options, outputFormat), function(node, source){
var opts = Object.assign({}, options, {
forceES5: loader.forceES5 === true
forceES5: loader.forceES5 !== false
});
var depMap = nodeDependencyMap(node);

Expand Down

0 comments on commit 9685d61

Please sign in to comment.