When caching to filesystem, html-bundler-webpack-plugin is breaking #109
binarykitchen
started this conversation in
General
Replies: 1 comment 1 reply
-
The supporting of the Can you please create a small as possible a repo with reproducible problem. You can copy&past your React project, but replace in the project all "business secrets" with a dummy data. P.S. the html bundler plugin is not designed/optimised for using with React. React have own building system or Vite is the bests choice. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello again,
In short, I have a big React app and CPU/Memory usage with webpack goes very high, like 6GB, crashing my system.
So I decided to change the webpack caching to file system, like this:
Now, with webpack infrastructure logging enabled, I see this new error:
Looks like there is a problem with the base HTML I'm importing in pug format that way:
I think the bug is, it should compile the pug file before it gets cached.
Is this library tested when webpack is compiled into file system instead of memory while using pug?
Beta Was this translation helpful? Give feedback.
All reactions