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.

clean up tsconfig

Sara Vieira4991bfc3dbc0
diff --git a/packages/asset-uploader/package.json b/packages/asset-uploader/package.json
index a4d4fe7372..a85f5038dc 100644
--- a/packages/asset-uploader/package.json
+++ b/packages/asset-uploader/package.json
@@ -4,6 +4,7 @@
"description": "Webstudio Asset Uploader",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
+ "type": "module",
"scripts": {
"typecheck": "tsc --noEmit",
"build": "rm -fr lib && tsc",
diff --git a/packages/asset-uploader/tsconfig.json b/packages/asset-uploader/tsconfig.json
index ca4a7d6742..6cce0a3445 100644
--- a/packages/asset-uploader/tsconfig.json
+++ b/packages/asset-uploader/tsconfig.json
@@ -1,9 +1,8 @@
// Extends can't use node's resolution rn https://github.com/dividab/tsconfig-paths/issues/209#issuecomment-1177261091
{
"extends": "../../node_modules/tsconfig/base.json",
- "include": ["./src/**/*.ts", "./src/**/*.tsx"],
+ "include": ["./src/**/*.ts"],
"compilerOptions": {
- "lib": ["DOM", "DOM.Iterable", "ES2019"],
"module": "commonjs",
"target": "ES2019",
"strict": true,