aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.js b/src/index.js
index c90c3ab..fb48d15 100644
--- a/src/index.js
+++ b/src/index.js
@@ -56,9 +56,9 @@ const loadUser = async (id) => {
}
const loadData = async () => {
- const raw = await require('./graph.json');
+ const raw = await import('../lib/graph.json');
const data = await jsonld.frame(
- raw,
+ raw.default,
{
'@context': context,
type: 'Document',