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";