aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/graph.json (renamed from src/graph.json)0
-rw-r--r--src/index.js4
2 files changed, 2 insertions, 2 deletions
diff --git a/src/graph.json b/lib/graph.json
index a1f67d5..a1f67d5 100644
--- a/src/graph.json
+++ b/lib/graph.json
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',