mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 15:37:32 +08:00
Drop babel exclude from unit test configuration
This commit is contained in:
@@ -31,15 +31,5 @@ module.exports = (env, argv) => {
|
||||
|
||||
wpConfig.module = merge.merge(wpConfig.module, ignoreAssetLoaders);
|
||||
|
||||
// Set exclude for babel-loader to completely ignore *all* node-modules,
|
||||
// without our exceptions to support IE as in parent webpack config.
|
||||
|
||||
wpConfig.module.rules = wpConfig.module.rules.map((rule) => {
|
||||
if (rule.loader == "babel-loader") {
|
||||
rule.exclude = [/(node_modules\/)/];
|
||||
}
|
||||
return rule;
|
||||
});
|
||||
|
||||
return wpConfig;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user