From 7960f8361fd8cf67e6f71858f40d13386b33b434 Mon Sep 17 00:00:00 2001 From: Nathan Walker Date: Tue, 10 Aug 2021 13:20:46 -0700 Subject: [PATCH] chore: use correct copy-webpack-plugin syntax --- apps/automated/webpack.custom.config.js | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/apps/automated/webpack.custom.config.js b/apps/automated/webpack.custom.config.js index e717e5e50..f13fc0393 100644 --- a/apps/automated/webpack.custom.config.js +++ b/apps/automated/webpack.custom.config.js @@ -7,16 +7,9 @@ module.exports = (env) => { env = env || {}; const baseConfig = webpackConfig(env); - baseConfig.plugins.push(new CopyWebpackPlugin({ - patterns: [ - { - from: 'ui/web-view/*.html', - globOptions: { - dot: false - } - } - ] - })) + baseConfig.plugins.push(new CopyWebpackPlugin([ + { from: { glob: 'ui/web-view/*.html', dot: false } } + ])) baseConfig.plugins.push(new webpack.DefinePlugin({ __CI__: !!process.env.CI