13.1.3-0 • Published 2 years ago

@cphx/plugin-node-resolve-map-pkgs v13.1.3-0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@cphx/plugin-node-resolve-map-pkgs

This package is a variant of @rollup/plugin-node-resolve( v13.1.3) with a new option -

mapPkgs

Map packages to an explicit path.
Package must contain package.jsonwith "name" field equal to packageName. If the "name" field is not equal, an error will occur. This mapping will preempt resolving to self and resolving via node_modules.

  mapPkgs?: {
    mappings: { [packageName: string]: string };
  };

that may or may not be eventually merged with the original @rollup/plugin-node-resolve.