fix: WASM direct instantiation working
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
PYTHON := /opt/homebrew/bin/python3.11
|
PYTHON := /opt/homebrew/bin/python3.11
|
||||||
WASM_PKG := ../../md_wasm/pkg
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
@echo "Building HTML docs from modules..."
|
@echo "Building HTML docs from modules..."
|
||||||
@@ -9,7 +8,6 @@ deploy:
|
|||||||
@echo "Building WASM doc..."
|
@echo "Building WASM doc..."
|
||||||
cd ../../md_wasm && wasm-pack build --target no-modules --no-opt 2>&1 | tail -2
|
cd ../../md_wasm && wasm-pack build --target no-modules --no-opt 2>&1 | tail -2
|
||||||
cp ../../md_wasm/pkg/md_wasm_bg.wasm ../doc_wasm/pkg/
|
cp ../../md_wasm/pkg/md_wasm_bg.wasm ../doc_wasm/pkg/
|
||||||
cp ../../md_wasm/pkg/md_wasm.js ../doc_wasm/pkg/
|
|
||||||
cp ../../docs_v1.0/API_WORKSPACE/modules/0*.md ../doc_wasm/modules/
|
cp ../../docs_v1.0/API_WORKSPACE/modules/0*.md ../doc_wasm/modules/
|
||||||
cp ../../docs_v1.0/API_WORKSPACE/modules/1*.md ../doc_wasm/modules/
|
cp ../../docs_v1.0/API_WORKSPACE/modules/1*.md ../doc_wasm/modules/
|
||||||
@echo " ✅ Updated ../doc_wasm/ (WASM docs)"
|
@echo " ✅ Updated ../doc_wasm/ (WASM docs)"
|
||||||
|
|||||||
Reference in New Issue
Block a user