If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Problem Description
The original issue #11395 has been temporarily resolved by using dependency overrides (#1453)
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 cssesc 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/debug@4.3.6/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/debug@4.3.6/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
Problem reproduction
What's the expected result?
Causes and solutions to the problem
Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-qmm8xt?file=astro.config.mjs
Participation