The previous versions had a dependency on nodejs specific modules and am happy to see that that is no longer the case in the latest versions. However, just one little thing still lingers; require('os'), in the index.js file. A fix for this will mean that this will work well in the browser as well.
here is the offending code snippet from index.js
const os = require('os'); const pico = require('./lib/picomatch'); const isWindows = os.platform() === 'win32';
The previous versions had a dependency on nodejs specific modules and am happy to see that that is no longer the case in the latest versions. However, just one little thing still lingers;
require('os'), in theindex.jsfile. A fix for this will mean that this will work well in the browser as well.here is the offending code snippet from index.js