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
{{ message }}
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
The text was updated successfully, but these errors were encountered:
DrJume
changed the title
Use createRequire() for working require() in ESM build
Use module.createRequire() for working require() in ESM build
Dec 14, 2021
DrJume
changed the title
Use module.createRequire() for working require() in ESM build
Use module.createRequire() to fix using require() in ESM build
Dec 14, 2021
DrJume
added a commit
to DrJume/vite-ssg
that referenced
this issue
Dec 14, 2021
The ESM build is not able to run
readFile()
correcly, becauserequire('fs')
is used.require()
is not avaiable in ESM.critters/packages/critters/src/index.js
Line 149 in 5e32531
The only thing missing, is to add
to
index.js
.The text was updated successfully, but these errors were encountered: