From 3516bd69f4aaf5be401d3e03cb45d2e5bbc28638 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Wed, 1 Apr 2026 21:30:26 +0200 Subject: fix: use published opencut-wasm package --- .github/CONTRIBUTING.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.github/CONTRIBUTING.md') diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 8167b6e2..f251603f 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -45,10 +45,9 @@ Thank you for your interest in contributing to OpenCut! This document provides g 5. Install dependencies: `bun install` 6. Start the development server: `bun run dev` -> **Note:** If you see an error like `Unsupported URL Type "workspace:*"` when running `npm install`, you have two options: +> **Note:** Web development uses the published `opencut-wasm` package by default, so a fresh clone does not need a local WASM build. > -> 1. Upgrade to a recent npm version (v9 or later), which has full workspace protocol support. -> 2. Use an alternative package manager such as **bun** or **pnpm**. +> If you are editing `rust/wasm`, run `bun run build:wasm`, then `cd rust/wasm/pkg && bun link`, then `cd ../../../apps/web && bun link opencut-wasm`. ### Desktop setup -- cgit v1.3.1