ci: clean up old console build

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7826
GitOrigin-RevId: a70472d5befaef1d0f0d072c86c848e8734fe78a
This commit is contained in:
Nicolas Beaussart 2023-02-08 14:51:09 +01:00 committed by hasura-bot
parent 7e9e7be395
commit 5163759e0e

View File

@ -111,6 +111,10 @@ export default async function runMyExecutor(
validateAllowedAssets(extractedAssets);
const loaderFile = generateAssetLoaderFile(extractedAssets);
tree.write(`${serverAssetBase}/versioned/assetLoader.js`, loaderFile);
tree.write(
`${serverAssetBase}/versioned/main.js`,
generatePolyfillLoaderFile(loaderFile)
);
tree.write(
`${serverAssetBase}/loaderPolyfill.js`,
generatePolyfillLoaderFile(loaderFile)
@ -122,7 +126,7 @@ export default async function runMyExecutor(
{
commands: [
`gzip -f ${serverAssetBase}/versioned/assetLoader.js`,
`gzip -f ${serverAssetBase}/loaderPolyfill.js`,
`gzip -f ${serverAssetBase}/versioned/main.js`,
],
parallel: false,
__unparsed__: [],