small refactor.
rename `/js/` to `/src/` and split things up into modules.
This commit is contained in:
parent
a4191ed3df
commit
6f33791a0b
4 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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
1
src/export.mjs
Normal file
|
@ -0,0 +1 @@
|
|||
export { json_as_html } from "/src/core.mjs";
|
Loading…
Reference in a new issue