sveltekit-data-plugin 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/plugin.js CHANGED
@@ -77,7 +77,7 @@
77
77
  ...attributes,
78
78
  _internal: {
79
79
  id: path.basename(obj),
80
- absolute: obj
80
+ absolute: markdownFile
81
81
  },
82
82
  body: data.body
83
83
  };
package/dist/plugin.mjs CHANGED
@@ -76,7 +76,7 @@ async function convert(opts, obj, { base, relative, depth = 1 } = {}) {
76
76
  ...attributes,
77
77
  _internal: {
78
78
  id: path.basename(obj),
79
- absolute: obj
79
+ absolute: markdownFile
80
80
  },
81
81
  body: data.body
82
82
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sveltekit-data-plugin",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "author": {
5
5
  "name": "Jonny Thaw",
6
6
  "url": "https://jthaw.me"