node-util
node-util copied to clipboard
i find a error about isBuffer function
when i build use rollup, i find my project dist have a error about exports.isBuffer = require('./support/isBuffer');
my dist don't have this files (/support/isBuffer
)
That’s defined here; seems like it’s a bug in rollup with the browser field.
i think you may be missing the CommonJS plugin for rollup, as the require statement still exists in the output. This is a CommonJS module so you need to configure your bundler appropriately if it doesn't support CommonJS by default.