Browser runtime require
error when user within ESM package
#9653
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
If to switch example docusaurus package type to module - following runtime error will be emitted within browser.
Reproducible demo
No response
Steps to reproduce
babel.config.js
tobabel.config.cjs
docusaurus start
will succesfully start but runtime error will be emitted within browserExpected behavior
Site works
Actual behavior
Runtime error
Your environment
Self-service
The text was updated successfully, but these errors were encountered: