diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2023-01-22 14:53:29 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2023-01-22 14:53:50 +0100 |
commit | 70c89f78a105ef2f8123fa8abd124e21e5a10b80 (patch) | |
tree | e030ef87edb66c9d5731c1c31aa11078740b89cb /config.ts | |
parent | 97e4ca0d7d24f5df5c331d9fba963e12368ddd84 (diff) | |
download | hesla-70c89f78a105ef2f8123fa8abd124e21e5a10b80.tar.gz |
Switch from amd to native ES2015 ECMAScript modules.
Diffstat (limited to 'config.ts')
-rw-r--r-- | config.ts | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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(); |