-
Notifications
You must be signed in to change notification settings - Fork 3
Support react-scripts v4 #5
Comments
@shilangyu TL;DR: No.
|
Workaround Ref: https://create-react-app.dev/docs/advanced-configuration |
Thank you for investigating @matthewkwong, I will try to push a fix today |
From what I can observe, |
Just tried to build my app using the latest |
Please do not tag me again on this thread. You have been incorrectly tagging the wrong matthewkwong. Thanks |
Well, I was not entirely right. BTW matthewkwong (this is not a tag), in case you still seeing this, I think GitHub auto-subscribe this thread for you because you were being mistakenly tagged previously. You may have to unsubscribe manually. |
That's because Aliasing |
The alias makes everything compile. However, sadly Fast Refresh does not work. Saving a changed file does not make the webpage reflect the new changes :/ I do not know whether that is a Preact or a fast-refresh limitation. I will have to investigate further. |
Maintaining new versions of react-scripts is very fragile and susceptible to small changes. I failed to migrate fully to react-scripts v4 and now there is even v5. create-react-app seems to be not recommended anymore, so I am archiving this project and recommending to use Vite with the Preact preset instead. Of course, one of the appeals of |
Maybe it already works and it's only a matter of bumping the peer dependency.
The text was updated successfully, but these errors were encountered: