2
0
mirror of https://github.com/frappe/books.git synced 2025-01-27 09:08:24 +00:00

fix: Optional configureWebpack

This commit is contained in:
Faris Ansari 2019-12-10 01:28:42 +05:30
parent ced079c9cb
commit e4ec2e11ee

View File

@ -167,9 +167,11 @@ function makeConfig() {
} }
}; };
let modifiedConfig = appConfig.configureWebpack(config); if (appConfig.configureWebpack) {
if (modifiedConfig) { let modifiedConfig = appConfig.configureWebpack(config);
return modifiedConfig; if (modifiedConfig) {
return modifiedConfig;
}
} }
return config; return config;