Skip to content

Commit 57076f0

Browse files
committed
fix: build order
run lint autofix
1 parent 9b38077 commit 57076f0

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"packageManager": "pnpm@10.33.0",
1010
"scripts": {
1111
"start": "concurrently 'pnpm run -r --parallel start' 'pnpm preview'",
12-
"build": "pnpm run -r build",
12+
"build": "pnpm run --filter=frsource.github.io-index build && pnpm run --filter=frsource.github.io-blog build",
1313
"format": "pnpm run -r format",
1414
"preview": "serve public",
1515
"prepare": "husky"

packages/index/src/index.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ import { startLogoAnimation } from './logo.ctrl';
3232
.addEventListener('click', async function () {
3333
if (!contactDialogCtrl) {
3434
this.disabled = true;
35-
const contactDialogModule = await import(
36-
'./contactDialog'
37-
).catch(() => (this.disabled = false as false));
35+
const contactDialogModule =
36+
await import('./contactDialog').catch(
37+
() => (this.disabled = false as false),
38+
);
3839
if (!contactDialogModule) return;
3940
contactDialogCtrl = new contactDialogModule.ContactDialogCtrl();
4041
await contactDialogModule.ContactDialogCtrl.templateLoader;

0 commit comments

Comments
 (0)