1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 07:16:36 +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
{
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`,
},
];