3 ms·
Does a simple `require('package')` without the slashes fetch the thing from NPM? Maybe it could. Maybe it could also work with `require('package@0.5.1')` and o
by fiatjaf 12y ago
Does a simple `require('package')` without the slashes fetch the thing from NPM?
Maybe it could.
Maybe it could also work with `require('package@0.5.1')` and other sugars like this.
- matthewmueller 12y agorequire('package') will look into the manifest to see if there's a remote path and version to use, otherwise it will be set as unresolved and ignored in the build.