diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2023-01-22 10:39:31 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2023-01-22 10:39:31 +0100 |
commit | 9e8931a65545595fea87132e77e70005556997d1 (patch) | |
tree | a619a1bdb3acf65a0e898a6e398ac7d9b6553e56 /Makefile | |
parent | 10516625853177b2b1ed01d054aca63ced9042d0 (diff) | |
download | hesla-9e8931a65545595fea87132e77e70005556997d1.tar.gz |
Basics of rewrite to TypeScript
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |