Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Prevent user supplied babel optionsWe didn't support that before anyway
  • Loading branch information
marvinhagemeister committed Nov 28, 2018
1 parent cebff34 commit bd6b552
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/index.js
Expand Up @@ -368,6 +368,11 @@ function createConfig(options, entry, format, writeMeta) {
!useTypescript && flow({ all: true, pretty: true }),
// Only used for async await
babel({
// We mainly use bublé to transpile JS and only use babel to
// transpile down `async/await`. To prevent conflicts with user
// supplied configurations we set this option to false. Note
// that we never supported using custom babel configs anyway.
babelrc: false,
exclude: 'node_modules/**',
plugins: [
'@babel/plugin-syntax-jsx',
Expand Down

0 comments on commit bd6b552

Please sign in to comment.