mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Only build LavaMoat runtime once (#18768)
This commit is contained in:
parent
9fcbc554b0
commit
cd7cd45ec5
@ -73,6 +73,9 @@ async function defineAndRunBuildTasks() {
|
|||||||
version,
|
version,
|
||||||
} = await parseArgv();
|
} = await parseArgv();
|
||||||
|
|
||||||
|
const isRootTask = ['dist', 'prod', 'test', 'dev'].includes(entryTask);
|
||||||
|
|
||||||
|
if (isRootTask) {
|
||||||
// scuttle on production/tests environment only
|
// scuttle on production/tests environment only
|
||||||
const shouldScuttle = ['dist', 'prod', 'test'].includes(entryTask);
|
const shouldScuttle = ['dist', 'prod', 'test'].includes(entryTask);
|
||||||
|
|
||||||
@ -128,6 +131,7 @@ async function defineAndRunBuildTasks() {
|
|||||||
'sentry',
|
'sentry',
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
const browserPlatforms = ['firefox', 'chrome'];
|
const browserPlatforms = ['firefox', 'chrome'];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user