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:
parent
952adbce44
commit
0040b66e5c
@ -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`,
|
||||
},
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user