1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 13:47:06 +01:00

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

This commit is contained in:
kumavis 2021-03-31 16:13:37 +08:00 committed by GitHub
parent 952adbce44
commit 0040b66e5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`,
}, },
]; ];