Skip to content

Commit e11667b

Browse files
feat(build): add astro check with directory ignoring
1 parent 8ec2891 commit e11667b

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"dev": "astro dev --host",
77
"start": "astro dev",
8-
"build": "astro build",
8+
"build": "astro check && astro build",
99
"build-android": "bun tauri android build --apk --target aarch64",
1010
"preview": "astro preview --host",
1111
"astro": "astro"

tsconfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2-
"extends": "astro/tsconfigs/strict"
3-
}
2+
"extends": "astro/tsconfigs/strict",
3+
"exclude": ["src-tauri", "dist"]
4+
}
5+

0 commit comments

Comments
 (0)