From 3d2a67404f8f9448732be12e39825d2fc9f43f51 Mon Sep 17 00:00:00 2001 From: Jonathan Romano Date: Mon, 22 Jul 2024 18:08:14 -0400 Subject: [PATCH] Missed spread --- webpack.config.common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.common.js b/webpack.config.common.js index 0b6b786..240cb81 100644 --- a/webpack.config.common.js +++ b/webpack.config.common.js @@ -62,7 +62,7 @@ module.exports = function(mode, eternajs_copy) { }), new VueLoaderPlugin(), new CopyPlugin({patterns: [ - process.env.PARALLEL_BUILD ? {} : { context: eternajs_copy, from: '**/*', to: 'eternajs/'}, + ...(process.env.PARALLEL_BUILD ? [] : [{ context: eternajs_copy, from: '**/*', to: 'eternajs/'}]), { from: 'src/assets/favicon.ico', to: 'favicon.ico'}, ]}), ],