zhipeng-jia / snappyjs

JavaScript implementation of Google's Snappy compression library
MIT License
151 stars 30 forks source link

Document webpack bundling the Buffer polyfill #7

Closed jakub-g closed 3 years ago

jakub-g commented 5 years ago

The Buffer polyfill automatically added by webpack is rather big and most likely not needed for the browser environment.

https://webpack.js.org/configuration/node/#nodebuffer