Any option to tell isobuild to ignore packages?


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:

  1. 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).
  2. Some npm packages have peer dependencies which are not really required for the normal operation, but the build keeps warning until they’re available.