Skip to content

Commit

Permalink
Don't mutate user's babel config (#6987)
Browse files Browse the repository at this point in the history
Don't mutate user's babel config
  • Loading branch information
shilman committed Jun 6, 2019
1 parent 5bc3610 commit f83f198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/src/server/utils/load-custom-babel-config.js
Expand Up @@ -46,7 +46,7 @@ function loadFromPath(babelConfigPath) {
throw error.js;
}

config.babelrc = false;
config = { ...config, babelrc: false };
}

if (!config) return null;
Expand Down

0 comments on commit f83f198

Please sign in to comment.