Anyone have experience sorting out a ChunkLoadError?

I'm working on a little side project in my free time, mostly to expand my skillset and learn new things. Basically, it's an npm package that you give info about a form you want to make and it'll make it for you. I'm lazy loading the form field components so that I only load them when they're needed. All works fine in development, but when I'm using it with real data in production I get this error: Loading chunk 216 failed. (error: http://localhost:8000/216.index.js) I don't have a lot of experience with webpack, so I'm guessing it's a config issue but I'm not sure where exactly to look. 216.index.js does exist in dist so I'm not sure why it 404s. Repo: https://github.com/TotalityWorks/wpgravitybundle/tree/feature/typesafe-v1 I'm playing around with it in Gatsby.js. wpgravitybundle@alpha
GitHub
GitHub - TotalityWorks/wpgravitybundle at feature/typesafe-v1
A component and a hook to simplify your headless WordPress React application using Gravity Forms. - GitHub - TotalityWorks/wpgravitybundle at feature/typesafe-v1
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server