aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2023-01-22 14:06:25 +0100
committerMatěj Cepl <mcepl@cepl.eu>2023-01-22 14:32:17 +0100
commitb01e1e4c3907cea472284c3142a9860bb2992593 (patch)
tree234b27b5f902377753ded46f051bdd066c50c84d /Makefile
parent9e8931a65545595fea87132e77e70005556997d1 (diff)
downloadhesla-b01e1e4c3907cea472284c3142a9860bb2992593.tar.gz
Compiles cleanly
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 538b991..b2acdc7 100644
--- a/Makefile
+++ b/Makefile
@@ -2,14 +2,10 @@ BABEL=node node_modules/@babel/cli/bin/babel.js
FILES=hesla.js hesla.js.map require.js config.js config.js.map \
activePage.js activePage.js.map favicon-*.png a*.png lamb-of-God.svg sworker.js \
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 $@ $<
+ google9815148f4ac1407f.html config.ts hesla.ts activePage.ts
%.js: %.ts
- # or -m amd
- tsc --sourceMap --allowJs true --checkJs false --module es2015 --target ES5 $<
+ tsc --sourceMap --allowJs true --checkJs true --module amd --target es2015 $<
all: index.html index_de.html config.js activePage.js hesla.js