From 9d4233e68996ee723e85b2914d2ecdfcd8fba1be Mon Sep 17 00:00:00 2001
From: Jakub Jankiewicz <jcubic@onet.pl>
Date: Mon, 15 Jan 2024 02:37:35 +0100
Subject: [PATCH] fix ems module filename

---
 Makefile                                  | 2 +-
 dist/{lips.ems.min.js => lips.esm.min.js} | 0
 templates/Makefile                        | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename dist/{lips.ems.min.js => lips.esm.min.js} (100%)

diff --git a/Makefile b/Makefile
index ccdd04cc1..7624c161f 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ dist/lips.min.js: dist/lips.js .$(VERSION)
 	$(UGLIFY) -o dist/lips.min.js --comments --mangle -- dist/lips.js
 
 dist/lips.esm.min.js: dist/lips.esm.js .$(VERSION)
-	$(UGLIFY) -o dist/lips.ems.min.js --comments --mangle -- dist/lips.esm.js
+	$(UGLIFY) -o dist/lips.esm.min.js --comments --mangle -- dist/lips.esm.js
 
 dist/std.scm: lib/bootstrap.scm lib/R5RS.scm lib/byte-vectors.scm lib/R7RS.scm lib/init.scm
 	$(CAT) lib/bootstrap.scm lib/R5RS.scm lib/byte-vectors.scm lib/R7RS.scm lib/init.scm > dist/std.scm
diff --git a/dist/lips.ems.min.js b/dist/lips.esm.min.js
similarity index 100%
rename from dist/lips.ems.min.js
rename to dist/lips.esm.min.js
diff --git a/templates/Makefile b/templates/Makefile
index b100babdd..e9dda5d5d 100755
--- a/templates/Makefile
+++ b/templates/Makefile
@@ -46,7 +46,7 @@ dist/lips.min.js: dist/lips.js .$(VERSION)
 	$(UGLIFY) -o dist/lips.min.js --comments --mangle -- dist/lips.js
 
 dist/lips.esm.min.js: dist/lips.esm.js .$(VERSION)
-	$(UGLIFY) -o dist/lips.ems.min.js --comments --mangle -- dist/lips.esm.js
+	$(UGLIFY) -o dist/lips.esm.min.js --comments --mangle -- dist/lips.esm.js
 
 dist/std.scm: lib/bootstrap.scm lib/R5RS.scm lib/byte-vectors.scm lib/R7RS.scm lib/init.scm
 	$(CAT) lib/bootstrap.scm lib/R5RS.scm lib/byte-vectors.scm lib/R7RS.scm lib/init.scm > dist/std.scm