Skip to content

Commit 522d479

Browse files
committed
lint++
1 parent 20e012f commit 522d479

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scripts/submodule-core.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ async function submoduleCoreProd(config: BuildConfig): Promise<object | undefine
6868

6969
const build = await rollup(input);
7070

71-
await Promise.all([build.write(esmOutput)]);
71+
await build.write(esmOutput);
7272

7373
console.log('🦊 core.mjs:', await fileSize(join(config.distQwikPkgDir, 'core.mjs')));
7474

@@ -332,15 +332,13 @@ async function submoduleCoreDev(config: BuildConfig) {
332332
},
333333
};
334334

335-
const esm = await build({
335+
await build({
336336
...opts,
337337
external: ['@qwik.dev/core/build', '@qwik.dev/core/preloader', 'node:async_hooks'],
338338
format: 'esm',
339339
outExtension: { '.js': '.mjs' },
340340
});
341341

342-
await Promise.all([esm]);
343-
344342
// Point the minified and prod versions to the dev versions
345343
await writeFile(join(config.distQwikPkgDir, 'core.prod.mjs'), `export * from './core.mjs';\n`);
346344
await writeFile(join(config.distQwikPkgDir, 'core.min.mjs'), `export * from './core.mjs';\n`);

0 commit comments

Comments
 (0)