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
However, when import the default configuration of prism(@astrojs/markdown-remark), the commonjs require is not defined appeared again
So I used a similar method to override prismjs to continue to move forward
Then other commonjs dependency errors appeared: For example:
...other commonjs dependency error
astro:vite Error when evaluating SSR module /markdoc.config.mjs:
astro:vite |- ReferenceError: module is not defined
astro:vite at eval (/astro-production/node_modules/.pnpm/[email protected]/node_modules/debug/src/index.js:11:2)
astro:vite Error when evaluating SSR module /astro-production/src/content/blog/01-post.mdoc:
astro:vite |- ReferenceError: module is not defined
astro:vite at eval (/astro-production/node_modules/.pnpm/[email protected]/node_modules/debug/src/index.js:11:2)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Problem Description
cssesc
when rendering a content collection item #11395 has been temporarily resolved by using dependency overrides vanilla-extract-issue #1453Problem reproduction
What's the expected result?
Causes and solutions to the problem
Link to Minimal Reproducible Example
https://github.com/zhaohuanyuu/astro-reproduction/tree/module-is-not-defined
Participation
The text was updated successfully, but these errors were encountered: