From 993e8d37b40aeefeb723d96b433a88138d378645 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Thu, 28 Nov 2019 23:05:36 +0530 Subject: [PATCH] feat: Allow modifying webpack config from frappe.conf.js --- webpack/config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webpack/config.js b/webpack/config.js index 1b4435fd..e2edb958 100644 --- a/webpack/config.js +++ b/webpack/config.js @@ -167,6 +167,11 @@ function makeConfig() { } }; + let modifiedConfig = appConfig.configureWebpack(config); + if (modifiedConfig) { + return modifiedConfig; + } + return config; };