Skip to content

Commit a9b6000

Browse files
committed
chore: fix tsc
1 parent ff7dfc5 commit a9b6000

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

astro.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { defineConfig, AstroUserConfig } from "astro/config";
2-
1+
import { defineConfig } from "astro/config";
32
import preact from "@astrojs/preact";
43
import sitemap from "@astrojs/sitemap";
54
import icon from "astro-icon";
@@ -13,6 +12,7 @@ import { fileToOpenGraphConverter } from "./src/utils/translations";
1312
import { posts, collections } from "./src/utils/data";
1413
import { SUPPORTED_IMAGE_SIZES } from "./src/utils/get-picture";
1514
import { astroIntegrationCopyGenerated } from "./src/utils/markdown/astro-integration-copy-generated";
15+
import { AstroUserConfig } from "astro";
1616

1717
await symlink(path.resolve("content"), path.resolve("public/content"));
1818

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"target": "ESNext",
55
"module": "ESNext",
66
// Enable node-style module resolution, for things like npm package imports.
7-
"moduleResolution": "node",
7+
"moduleResolution": "bundler",
88
// Enable JSON imports.
99
"resolveJsonModule": true,
1010
// Enable stricter transpilation for better output.

0 commit comments

Comments
 (0)