Skip to content

Commit ab57bdc

Browse files
committed
Fix Babel config file detection
1 parent 134f47a commit ab57bdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/config/parse-runtime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ module.exports = function(argv, cwd) {
101101
cwd: cwd,
102102
filename: path.join(cwd, 'webpack.config.js')
103103
});
104-
runtimeConfig.babelRcFileExists = (typeof partialConfig.babelrc === 'string');
104+
runtimeConfig.babelRcFileExists = partialConfig.hasFilesystemConfig();
105105

106106
return runtimeConfig;
107107
};

0 commit comments

Comments
 (0)