Parcourir la source

update build scripts

Aakansha Doshi il y a 1 an
Parent
commit
6d0ee330b7
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 3 2
      examples/excalidraw/with-script-in-browser/package.json

+ 3 - 2
examples/excalidraw/with-script-in-browser/package.json

@@ -12,8 +12,9 @@
     "typescript": "^5"
     "typescript": "^5"
   },
   },
   "scripts": {
   "scripts": {
-    "start": "yarn workspace @excalidraw/excalidraw run build:esm && vite",
-    "build": "yarn workspace @excalidraw/excalidraw run build:esm && vite build",
+    "build:workspaces": "yarn workspace @excalidraw/excalidraw run build:esm && yarn workspace @excalidraw/utils run build:esm",
+    "start": "yarn build:workspaces && vite",
+    "build": "yarn build:workspaces && vite build",
     "build:preview": "yarn build && vite preview --port 5002"
     "build:preview": "yarn build && vite preview --port 5002"
   }
   }
 }
 }