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