From 9e8931a65545595fea87132e77e70005556997d1 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Sun, 22 Jan 2023 10:39:31 +0100 Subject: Basics of rewrite to TypeScript --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c174cb7..538b991 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,12 @@ FILES=hesla.js hesla.js.map require.js config.js config.js.map \ index_de.html index.html screen.css site.webmanifest favicon.ico \ google9815148f4ac1407f.html config.es hesla.es activePage.es -%.js: %.es - $(BABEL) --source-maps true -o $@ $< +# %.js: %.es +# $(BABEL) --source-maps true -o $@ $< + +%.js: %.ts + # or -m amd + tsc --sourceMap --allowJs true --checkJs false --module es2015 --target ES5 $< all: index.html index_de.html config.js activePage.js hesla.js -- cgit