From 70c89f78a105ef2f8123fa8abd124e21e5a10b80 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Sun, 22 Jan 2023 14:53:29 +0100 Subject: Switch from amd to native ES2015 ECMAScript modules. --- config.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'config.ts') diff --git a/config.ts b/config.ts index a65dfa8..55de94e 100644 --- a/config.ts +++ b/config.ts @@ -1,7 +1,3 @@ -/// +import { Hesla } from "./hesla.js"; -import { Hesla } from "hesla"; - -require([], () => { - var thisHesla = new Hesla(); -}); +var thisHesla = new Hesla(); -- cgit