@aravindc26/velu 0.13.0 → 0.13.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aravindc26/velu",
3
- "version": "0.13.0",
3
+ "version": "0.13.2",
4
4
  "description": "A modern documentation site generator powered by Markdown and JSON configuration",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -251,7 +251,7 @@ export default async function PreviewPage({ params }: PageProps) {
251
251
  <MDX
252
252
  components={prefixMdxComponentLinks(
253
253
  getMDXComponents({
254
- a: createRelativeLink(src, page),
254
+ a: createRelativeLink(src as any, page),
255
255
  }, configSource ?? undefined),
256
256
  sessionPrefix,
257
257
  )}
@@ -43,9 +43,11 @@ async function getDynamic() {
43
43
 
44
44
  dynamicInitPromise = dynamic(
45
45
  sourceConfigExports,
46
- // CoreOptions — the second argument to dynamic(). Pass empty object to use
47
- // defaults from source.config.ts which dynamic() reads via buildConfig().
48
- {},
46
+ {
47
+ environment: 'runtime',
48
+ configPath: 'source.config.ts',
49
+ outDir: '.source',
50
+ },
49
51
  ).then((inst) => {
50
52
  dynamicInstance = inst;
51
53
  dynamicInitPromise = null;