Skip to content

Commit

Permalink
Merge pull request #5206 from xomaczar/fix-broccoli-babel-transpiler-…
Browse files Browse the repository at this point in the history
…warnings

[BUGFIX beta] Fix broccoli-babel-transpiler cache warnings
  • Loading branch information
bmac authored Oct 4, 2017
2 parents 513b295 + 51a6fbd commit 722e684
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/stripped-build-plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ module.exports = function(environment) {
// ensures that a `baseDir` property is present on the babel plugins
// that we will be using, this prevents ember-cli-babel/broccoli-babel-transpiler
// from opting out of caching (and printing a giant warning)
plugins.forEach(Plugin => {
addBaseDir(Plugin);
});
plugins.forEach((pluginWithOptions) => addBaseDir(pluginWithOptions[0]));


return { plugins, postTransformPlugins };
};

0 comments on commit 722e684

Please sign in to comment.