aboutsummaryrefslogtreecommitdiffstats
path: root/config.ts
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2023-01-22 14:53:29 +0100
committerMatěj Cepl <mcepl@cepl.eu>2023-01-22 14:53:50 +0100
commit70c89f78a105ef2f8123fa8abd124e21e5a10b80 (patch)
treee030ef87edb66c9d5731c1c31aa11078740b89cb /config.ts
parent97e4ca0d7d24f5df5c331d9fba963e12368ddd84 (diff)
downloadhesla-70c89f78a105ef2f8123fa8abd124e21e5a10b80.tar.gz
Switch from amd to native ES2015 ECMAScript modules.
Diffstat (limited to 'config.ts')
-rw-r--r--config.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/config.ts b/config.ts
index a65dfa8..55de94e 100644
--- a/config.ts
+++ b/config.ts
@@ -1,7 +1,3 @@
-/// <reference path="require.d.ts" />
+import { Hesla } from "./hesla.js";
-import { Hesla } from "hesla";
-
-require([], () => {
- var thisHesla = new Hesla();
-});
+var thisHesla = new Hesla();