update build scripts

This commit is contained in:
Aakansha Doshi 2024-05-06 15:35:34 +05:30
parent e48eed6b21
commit 6d0ee330b7

View File

@ -12,8 +12,9 @@
"typescript": "^5"
},
"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"
}
}