rockiger / reactpress

Plugin that lets you easily create, build and deploy React apps into your existing WordPress sites.
https://rockiger.com/en/reactpress/
GNU General Public License v2.0
54 stars 7 forks source link

Webpack support #63

Open francescaboe opened 1 month ago

francescaboe commented 1 month ago

More of a question than an issue: I use webpack as a bundler, and if I just buid the project my react app doesn't show up in the page, are there any configurations I need to twich for it to work? For context i'm following the reactpress tutorial except i created my app with webpack instead of vite. Thanks!

rockiger commented 1 month ago

I would try to masquerade as a create-react-app. This means you need a /build folder for your compiled files. And you require a asset-manifest.json in that folder.

This should do the trick.