From 07e794e9d2a73f80958509f2dec1c5733b3f4d92 Mon Sep 17 00:00:00 2001 From: Abdelrahman Ashraf Date: Fri, 19 Jan 2024 12:45:48 +0700 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20change=20extension=20to?= =?UTF-8?q?=20.mjs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 6 ++++-- web-example.html | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a6ba1ee8..9e6d1216 100644 --- a/Makefile +++ b/Makefile @@ -429,9 +429,11 @@ define WASM_RELEASE rm -rf $(RELEASE)/$(WASM) mkdir -p $(RELEASE)/$(WASM) cp $(RUNTIME_FFI)/$(WASM_BUILD)/$(BUILD)/$(WASM_MODULE).wasm \ - $(RUNTIME_FFI)/$(WASM_BUILD)/$(BUILD)/$(WASM_MODULE).js \ - $(RUNTIME_FFI)/$(WASM_BUILD)/$(BUILD)/$(WASM_MODULE).d.ts \ $(RELEASE)/$(WASM) + cp $(RUNTIME_FFI)/$(WASM_BUILD)/$(BUILD)/$(WASM_MODULE).d.ts \ + $(RELEASE)/$(WASM) + cp $(RUNTIME_FFI)/$(WASM_BUILD)/$(BUILD)/$(WASM_MODULE).js \ + $(RELEASE)/$(WASM)/$(WASM_MODULE).mjs cd $(RELEASE)/$(WASM) && \ rm -f $(DOTLOTTIE_PLAYER).$(WASM).tar.gz && \ tar zcf $(DOTLOTTIE_PLAYER).$(WASM).tar.gz * diff --git a/web-example.html b/web-example.html index dfb15215..4b74b83c 100644 --- a/web-example.html +++ b/web-example.html @@ -10,12 +10,12 @@