Browse Source

fix script

Aakansha Doshi 1 year ago
parent
commit
b2b03af1ec
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/excalidraw/with-nextjs/package.json

+ 2 - 2
examples/excalidraw/with-nextjs/package.json

@@ -3,8 +3,8 @@
   "version": "0.1.0",
   "private": true,
   "scripts": {
-    "build:workspace": "yarn workspace @excalidraw/excalidraw run build:esm",
-    "dev": "yarn build:workspace && next dev -p 3005",
+    "build:workspaces": "yarn workspace @excalidraw/utils run build:esm && yarn workspace @excalidraw/excalidraw run build:esm",
+    "dev": "yarn build:workspaces && next dev -p 3005",
     "build": "yarn build:workspace && next build",
     "start": "next start -p 3006",
     "lint": "next lint"