Polyfill Put Down
v3 has major breaking changes.
Changes:
- library exports util function by default
- Can be used with Node and Webpack/ES Modules.
- you can add
byStringmethod toObject.prototypeby pulling in the polyfill file
// util method
const bystring = require("object-bystring");
//polyfill
require("object-bystring/polyfill");- source code is now readable! This code was minified by an online tool and not webpack, so it was basically unreadable. Now it's easy to read and minified during the build!