From be6b8629be68eb49859fc7e1d90f01c8400f6c8a Mon Sep 17 00:00:00 2001 From: HarmvZ Date: Mon, 21 Nov 2022 23:46:55 +0100 Subject: [PATCH] fix: Correctly ignore directories in webpack config (#3025) --- platform/viewer/.webpack/webpack.pwa.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/viewer/.webpack/webpack.pwa.js b/platform/viewer/.webpack/webpack.pwa.js index 3436933ee..edeea8280 100644 --- a/platform/viewer/.webpack/webpack.pwa.js +++ b/platform/viewer/.webpack/webpack.pwa.js @@ -87,7 +87,7 @@ module.exports = (env, argv) => { globOptions: { // Ignore our HtmlWebpackPlugin template file // Ignore our configuration files - ignore: ['config/*', 'html-templates/*', '.DS_Store'], + ignore: ['**/config/**', '**/html-templates/**', '.DS_Store'], }, }, // Short term solution to make sure GCloud config is available in output