From 002cfcba0bd01dd0bf69193162ab29f28034be18 Mon Sep 17 00:00:00 2001 From: trans_soup <> Date: Sun, 16 Jul 2023 16:00:47 +0200 Subject: [PATCH 1/2] move exports file to top level. --- src/export.mjs => export.mjs | 0 src/demo.mjs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/export.mjs => export.mjs (100%) diff --git a/src/export.mjs b/export.mjs similarity index 100% rename from src/export.mjs rename to export.mjs diff --git a/src/demo.mjs b/src/demo.mjs index dd90484..ed6c5b6 100644 --- a/src/demo.mjs +++ b/src/demo.mjs @@ -1,4 +1,4 @@ -import { json_as_html } from "/src/export.mjs"; +import { json_as_html } from "/export.mjs"; From 9e35a20a609e25be7ec82ba3a8db0fa83185b30b Mon Sep 17 00:00:00 2001 From: trans_soup <> Date: Sun, 16 Jul 2023 16:41:50 +0200 Subject: [PATCH 2/2] change import paths from absolute to relative. because apparently absolute ones messes with submodules :/ --- export.mjs | 2 +- index.html | 2 +- src/demo.mjs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/export.mjs b/export.mjs index 23fa80e..b0e1d87 100644 --- a/export.mjs +++ b/export.mjs @@ -1 +1 @@ -export { json_as_html } from "/src/core.mjs"; +export { json_as_html } from "./src/core.mjs"; diff --git a/index.html b/index.html index 5b4800d..82a1ace 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@