Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

Fixed `detect-font.d.ts` lookup

Mateusz Burzyński67f63bdb0ded
diff --git a/apps/designer/@types/detect-font.d.ts b/packages/react-sdk/@types/detect-font.d.ts
similarity index 100%
rename from apps/designer/@types/detect-font.d.ts
rename to packages/react-sdk/@types/detect-font.d.ts
diff --git a/packages/react-sdk/tsconfig.json b/packages/react-sdk/tsconfig.json
index 94967c0358..f2fa0ab9be 100644
--- a/packages/react-sdk/tsconfig.json
+++ b/packages/react-sdk/tsconfig.json
@@ -1,7 +1,12 @@
{
// Extends can't use node's resolution rn https://github.com/dividab/tsconfig-paths/issues/209#issuecomment-1177261091
"extends": "../../node_modules/@webstudio-is/tsconfig/base.json",
- "include": ["./src/**/*.ts", "./src/**/*.tsx", "./src/**/*.json"],
+ "include": [
+ "./src/**/*.ts",
+ "./src/**/*.tsx",
+ "./src/**/*.json",
+ "./@types/**/*.d.ts"
+ ],
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2020"],
"module": "commonjs",