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.

prevent remix from extending our config

Oleg Isonen46d0331671bd
diff --git a/apps/designer/tsconfig.json b/apps/designer/tsconfig.json
index 102b540d96..f6ba3be074 100644
--- a/apps/designer/tsconfig.json
+++ b/apps/designer/tsconfig.json
@@ -1,5 +1,6 @@
{
- "extends": "tsconfig/remix.json",
+ // Extends can't use node's resolution rn https://github.com/dividab/tsconfig-paths/issues/209#issuecomment-1177261091
+ "extends": "../../node_modules/tsconfig/remix.json",
"include": ["remix.env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"],
"compilerOptions": {
diff --git a/packages/tsconfig/remix.json b/packages/tsconfig/remix.json
index 8c447e067d..aa57d759c2 100644
--- a/packages/tsconfig/remix.json
+++ b/packages/tsconfig/remix.json
@@ -4,7 +4,7 @@
"extends": "./base.json",
"compilerOptions": {
"noEmit": true,
- "jsx": "preserve",
+ "jsx": "react-jsx",
"target": "ES2019",
"lib": ["DOM", "DOM.Iterable", "ES2019"]
},