build - fix use of empty file to replace unused js files (#10780)

feature/default_network_editable
kumavis 4 years ago committed by GitHub
parent 952adbce44
commit 0040b66e5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      development/build/static.js

@ -82,13 +82,11 @@ const copyTargetsDev = [
}, },
// empty files to suppress missing file errors // empty files to suppress missing file errors
{ {
src: './development/', src: './development/empty.js',
pattern: '/empty.js',
dest: `bg-libs.js`, dest: `bg-libs.js`,
}, },
{ {
src: './development/', src: './development/empty.js',
pattern: '/empty.js',
dest: `ui-libs.js`, dest: `ui-libs.js`,
}, },
]; ];
@ -97,8 +95,7 @@ const copyTargetsProd = [
...copyTargets, ...copyTargets,
// empty files to suppress missing file errors // empty files to suppress missing file errors
{ {
src: './development/', src: './development/empty.js',
pattern: '/empty.js',
dest: `chromereload.js`, dest: `chromereload.js`,
}, },
]; ];

Loading…
Cancel
Save