2
0
mirror of https://github.com/frappe/books.git synced 2025-01-26 00:28:25 +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 (modifiedConfig) {
return modifiedConfig;
if (appConfig.configureWebpack) {
let modifiedConfig = appConfig.configureWebpack(config);
if (modifiedConfig) {
return modifiedConfig;
}
}
return config;