path-browserify icon indicating copy to clipboard operation
path-browserify copied to clipboard

README.md is Innacurate

Open bradharms opened this issue 4 years ago • 1 comments

https://github.com/browserify/path-browserify#install

The statement about Webpack including node.js polyfill code is no longer accurate as of Webpack 5, per this documentation. Some packages now require external polyfills like this one even when using Webpack if they are using the newest version.

bradharms avatar Dec 28 '20 20:12 bradharms

Separately from the webpack changes, it is not possible to run npm install path-browserify and expect this require statement to work:

var path = require('path')

...because there is no module entry named path in node_modules after running npm install path-browserify

chefhoobajoob avatar Nov 10 '21 22:11 chefhoobajoob