From 0040b66e5c5ad694977355fac6f9e2751b4201b6 Mon Sep 17 00:00:00 2001 From: kumavis Date: Wed, 31 Mar 2021 16:13:37 +0800 Subject: [PATCH] build - fix use of empty file to replace unused js files (#10780) --- development/build/static.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/development/build/static.js b/development/build/static.js index 91d796310..0adba6745 100644 --- a/development/build/static.js +++ b/development/build/static.js @@ -82,13 +82,11 @@ const copyTargetsDev = [ }, // empty files to suppress missing file errors { - src: './development/', - pattern: '/empty.js', + src: './development/empty.js', dest: `bg-libs.js`, }, { - src: './development/', - pattern: '/empty.js', + src: './development/empty.js', dest: `ui-libs.js`, }, ]; @@ -97,8 +95,7 @@ const copyTargetsProd = [ ...copyTargets, // empty files to suppress missing file errors { - src: './development/', - pattern: '/empty.js', + src: './development/empty.js', dest: `chromereload.js`, }, ];