Skip to content

Commit 0ff8ac0

Browse files
committed
fix paths on demo
1 parent 4c9d0dc commit 0ff8ac0

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

docs/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<body>
66
<p>This is meant to be a very simple demo. Please see <a href="https://sqldef.github.io">our site</a> for docs & more complete demo.</p>
77
<script type="module">
8+
import sqldef from '/sqldef/index.js'
89
// put demo code here
910
</script>
1011
</body>

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
// this is the primary entry-point, in ESM module
2+
3+
export default function sqldef(options) {}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"scripts": {
1515
"test": "node --test",
16-
"start": "npx -y live-server docs -mount=./:/sqldef"
16+
"start": "npx -y live-server docs --mount=/sqldef:."
1717
},
1818
"author": "David Konsumer <[email protected]> (http://konsumer.js.org)",
1919
"license": "MIT",

0 commit comments

Comments
 (0)