Is there a way to tell isobuild to ignore a npm package for specific targets?
I have a couple of issues I need this for:
- Some npm packages include code for both browser and node. They, sometimes, have support for webpack/browserify that ignores a certain dependency for a browser build. (i.e. browser.package = false in package.json).
- Some npm packages have peer dependencies which are not really required for the normal operation, but the build keeps warning until they’re available.