Skip to content

Using Preact with Docusaurus #4832

Answered by rschristian
SethFalco asked this question in Q&A
Discussion options

You must be logged in to vote

Alrightly, after a bunch of blind fiddling I seem to have gotten it working. I avoid dealing with Yarn, so can't really submit a patch as it wouldn't address the lockfile, but once you've gotten react fully out of node_modules, you should just need to comment out line 183 of node_modules/react-loadable/lib/index.js -- no idea why that fails, or why that module is even needed today, but builds do seem to work once that's corrected.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@SethFalco
Comment options

SethFalco Jul 7, 2025
Author Sponsor

@rschristian
Comment options

@rschristian
Comment options

Answer selected by SethFalco
@SethFalco
Comment options

SethFalco Jul 8, 2025
Author Sponsor

@rschristian
Comment options

@slorber
Comment options

@rschristian
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants