You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Only needed if using fallback `resolvePath` as it calls `$$metadata.resolvePath`
ifopts.opts.ResolvePath==nil {
p.addNilSourceMapping()
p.print("createMetadata as "+CREATE_METADATA)
}
Since Astro always pass the resolvePath option, it's provided astro/runtime/server/index.js runtime implementation can choose to not export the createMetadata API. The change was done in withastro/astro#5133
What version of
@astrojs/compiler
are you using?1.5.1
What package manager are you using?
pnpm
What operating system are you using?
Mac
Describe the Bug
The generated output when calling the
transform
function contains the below importbut
astro/runtime/server/index.js
doesn't exportcreateMetadata
and$$metadata
isn't used anywhere in the generated output.Link to Minimal Reproducible Example
https://stackblitz.com/edit/vitejs-vite-nuwbp7?file=vite.config.js
The text was updated successfully, but these errors were encountered: