small refactor.

rename `/js/` to `/src/` and split things up into modules.
This commit is contained in:
trans_soup 2023-07-16 15:57:37 +02:00
parent a4191ed3df
commit 6f33791a0b
4 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<title>json as html</title>
<script defer type="module" src="js/demo.mjs"></script>
<script defer type="module" src="src/demo.mjs"></script>
</head>
<body></body>

View File

@ -1,4 +1,4 @@
import { json_as_html } from "/js/export.mjs";
import { json_as_html } from "/src/export.mjs";

1
src/export.mjs Normal file
View File

@ -0,0 +1 @@
export { json_as_html } from "/src/core.mjs";