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