Compare commits

...

2 Commits

Author SHA1 Message Date
trans_soup 002cfcba0b move exports file to top level. 2023-07-16 16:02:17 +02:00
trans_soup 6f33791a0b small refactor.
rename `/js/` to `/src/` and split things up into modules.
2023-07-16 15:57:37 +02:00
4 changed files with 3 additions and 2 deletions

1
export.mjs Normal file
View File

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

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 "/export.mjs";