From f0876e3c036f3d5b5099a932a5da689504aa08ff Mon Sep 17 00:00:00 2001 From: Aakansha Doshi Date: Mon, 6 May 2024 16:18:05 +0530 Subject: [PATCH] tweaks --- examples/excalidraw/with-script-in-browser/package.json | 2 +- packages/excalidraw/tsconfig.json | 2 +- packages/utils/tsconfig.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/excalidraw/with-script-in-browser/package.json b/examples/excalidraw/with-script-in-browser/package.json index 94ace0430..69c0cdc5d 100644 --- a/examples/excalidraw/with-script-in-browser/package.json +++ b/examples/excalidraw/with-script-in-browser/package.json @@ -12,7 +12,7 @@ "typescript": "^5" }, "scripts": { - "build:workspaces": "yarn workspace @excalidraw/excalidraw run build:esm && yarn workspace @excalidraw/utils run build:esm", + "build:workspaces": "yarn workspace @excalidraw/utils run build:esm && yarn workspace @excalidraw/excalidraw run build:esm", "start": "yarn build:workspaces && vite", "build": "yarn build:workspaces && vite build", "build:preview": "yarn build && vite preview --port 5002" diff --git a/packages/excalidraw/tsconfig.json b/packages/excalidraw/tsconfig.json index a8f6210fa..accde6556 100644 --- a/packages/excalidraw/tsconfig.json +++ b/packages/excalidraw/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "../../tsconfig", - "exclude": ["**/*.test.*", "tests", "types", "examples", "dist"], + "exclude": ["**/*.test.*", "tests", "types", "examples", "packages/**/dist/**", "dist"], "compilerOptions": { "target": "ESNext", "strict": true, diff --git a/packages/utils/tsconfig.json b/packages/utils/tsconfig.json index e48df1a65..d17c51747 100644 --- a/packages/utils/tsconfig.json +++ b/packages/utils/tsconfig.json @@ -1,5 +1,6 @@ { "extends": "../../tsconfig", + "exclude": ["**/*.test.*", "**/tests/*", "types", "examples", "packages/**/dist/**", "dist"], "compilerOptions": { "target": "ESNext", "strict": true, @@ -11,6 +12,5 @@ "moduleResolution": "Node", "resolveJsonModule": true, "jsx": "react-jsx" - }, - "exclude": ["**/*.test.*", "**/tests/*", "types", "dist"] + } }