From bd3673f30220ef176f22d51a503d306f47c02767 Mon Sep 17 00:00:00 2001 From: Leanid Astrakou Date: Mon, 13 Nov 2023 06:50:38 -0500 Subject: [PATCH] Fixed webpack config for Web browser app Signed-off-by: Leanid Astrakou --- .../web-browser-app/webClient/webpack.config.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/system-apps/web-browser-app/webClient/webpack.config.js b/system-apps/web-browser-app/webClient/webpack.config.js index f5561935..76dbd1f2 100644 --- a/system-apps/web-browser-app/webClient/webpack.config.js +++ b/system-apps/web-browser-app/webClient/webpack.config.js @@ -48,12 +48,14 @@ var config = { ] }, plugins: [ - new CopyWebpackPlugin([ - { - from: path.resolve(__dirname, './src/assets'), - to: path.resolve('../web/assets') - } - ]) + new CopyWebpackPlugin({ + patterns: [ + { + from: path.resolve(__dirname, './src/assets'), + to: path.resolve(__dirname, '../web/assets') + }, + ], + }) ] };