Failing compilation of a react project
i am trying to compile a react project, but i get the error in the attached file?
Disable webpackChunkName comment on Production env
I’m trying to rename chunk for easier to debug in lighthouse. However, I find that size of chunk increase slightly after I have renamed it. I guest it have to store more bytes for the name of the chunk.
Failed to decode downloaded font react project
I’m encountering an issue where I’m getting a “Failed to decode downloaded font” error when trying to load fonts in my project. Here’s how I’ve set it up:
How to correctly configure package dependancy for microfrontends using webpack and react?
I have project with microfrontend using react and webpack. In the container app also I am using antd library. Then I created the microfrontend app and used as remoteEntry in container app. I was able to load the components successfully from the remote microfrontend to the container app.But when I try to install antd libry seperatly in the remote microfrontend and use it was giving me the following error.
How to package a component library with multiple modules?
I’ve written a large component library with various top-level folders like api
, components
, utils
etc. During initial development I used exports
in package.json
to define convenient entry locations that my code could be imported from, like <package>/utils
. But I had these exports pointing to the /src
folder, not to the /dist
folder produced by webpack.
Use webpack React lib in a project which doesnt have React
In the lib the React is already bundled so im trying to figure out how to use it instead of having to also download it in the consumer app.
Use webpack React lib in a project which doesnt have Reacy
In the lib the React is already bundled in so im trying to figure out how to use it instead of having to also download it in the consumer app.