File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @effect/contentlayer " : patch
3+ ---
4+
5+ ensure process is available in config
Original file line number Diff line number Diff line change @@ -105,7 +105,8 @@ export const fromPath = Effect.fnUntraced(function*(
105105 const content = yield * Effect . orDie ( fs . readFileString ( outPath ) )
106106
107107 const context = VM . createContext ( {
108- ...globalThis
108+ ...globalThis ,
109+ process
109110 } )
110111 context . require = Module . createRequire ( entrypoint )
111112 context . module = { exports : { } }
Original file line number Diff line number Diff line change @@ -98,7 +98,10 @@ export class UnifiedOutput extends Context.Tag("@effect/contentlayer/SourcePlugi
9898 * .use(remarkStringify)
9999 * .use(remarkFrontmatter)
100100 * .use(remarkParseFrontmatter)
101- * .use(SourcePlugin.unifiedRemoveYaml)
101+ * .use(unifiedRemoveYaml)
102+ * .use(remarkRehype)
103+ * .use(rehypeFormat)
104+ * .use(rehypeStringify),
102105 * })
103106 * ```
104107 *
You can’t perform that action at this time.
0 commit comments