aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
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