Hey, building a FE npm library that is published and used by me on another React project.
Since I have all dependencies already in node modules of main project I tried to use this lib to exclude all node modules from
my package. I end up getting an error when tried to consume my package.
Is it possible to exclude node modules from FE package ? or somehow tell my bundled js file to look for modules in node modules of the main project (like it is possible in BE packages ?)
Hey, building a FE npm library that is published and used by me on another React project. Since I have all dependencies already in node modules of main project I tried to use this lib to exclude all node modules from my package. I end up getting an error when tried to consume my package. Is it possible to exclude node modules from FE package ? or somehow tell my bundled js file to look for modules in node modules of the main project (like it is possible in BE packages ?)
Thanks