From 90deb5b1ee3cf82deae7096fe4b80dd3c64901c2 Mon Sep 17 00:00:00 2001 From: rigor789 Date: Wed, 4 Aug 2021 20:20:19 +0200 Subject: [PATCH] test: fix apps/automated --- apps/automated/src/package.json | 3 +++ apps/automated/webpack.custom.config.js | 13 ++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 apps/automated/src/package.json diff --git a/apps/automated/src/package.json b/apps/automated/src/package.json new file mode 100644 index 000000000..a60376465 --- /dev/null +++ b/apps/automated/src/package.json @@ -0,0 +1,3 @@ +{ + "main": "main.js" +} \ No newline at end of file diff --git a/apps/automated/webpack.custom.config.js b/apps/automated/webpack.custom.config.js index f13fc0393..e717e5e50 100644 --- a/apps/automated/webpack.custom.config.js +++ b/apps/automated/webpack.custom.config.js @@ -7,9 +7,16 @@ module.exports = (env) => { env = env || {}; const baseConfig = webpackConfig(env); - baseConfig.plugins.push(new CopyWebpackPlugin([ - { from: { glob: 'ui/web-view/*.html', dot: false } } - ])) + baseConfig.plugins.push(new CopyWebpackPlugin({ + patterns: [ + { + from: 'ui/web-view/*.html', + globOptions: { + dot: false + } + } + ] + })) baseConfig.plugins.push(new webpack.DefinePlugin({ __CI__: !!process.env.CI