Node Resolve
A promise based node resolution library based on enhanced-resolve.
This plugin development is deprecated and discontinued, as we are going to remove support for the
styleresolution field in package.json. It's recommended to use theoxc-resolverpackage instead.
Install
npm i @chialab/node-resolve -D
yarn add @chialab/node-resolve -D
pnpm add @chialab/node-resolve -D
Usage
import { resolve } from '@chialab/node-resolve';
await resolve('lit', '/path/to/www/js');
License
Node Resolve is released under the MIT license.