We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 437cd88 commit fb5dfceCopy full SHA for fb5dfce
src/loader.js
@@ -61,6 +61,7 @@ async function load(source) {
61
options: {slots = false, ...options} = {
62
allowComments: true,
63
},
64
+ nextjsExports = ['metadata', 'revalidate'],
65
appDir = false,
66
} = this.getOptions() || {};
67
@@ -128,7 +129,6 @@ async function load(source) {
128
129
130
this.addContextDependency(schemaDir);
131
- const nextjsExports = ['metadata', 'revalidate'];
132
const nextjsExportsCode = nextjsExports
133
.map((name) => `export const ${name} = frontmatter.nextjs?.${name};`)
134
.join('\n');
0 commit comments