imgix-core-js param mutation bug
const Imgix = require("imgix-core-js")
const client = new Imgix({
domain: 'test.imgix.net'
});
const params = {}
const srcsetOptions = { widths: [100] }
const url1 = client.buildSrcSet('', params, srcsetOptions);
const url2 = client.buildSrcSet('', params, srcsetOptions);
console.log(params, url1, url2)
no comments