Closed sirenkovladd closed 5 months ago
Fixed in #17 🎉. Is it works for you?
No, same result
"dependencies": {
"@putout/minify": "^3.16.0"
}
Try to re-install @putout/minify
.
❯ node index.js
1
var c=e=>e.w,w=c=>c;function f(e){const{n}=e,q=c(e);e.w=n;return q&&w(q)}console.log(f({n:1}));
undefined
❯ cat node_modules/@putout/minify/package.json | jq '.version'
"3.17.1"
Added ability to disable mergeVariables
.
But it's a useful feature I'd like to use the problem is that it may not work correctly in such scenarios
Here is the code, you can play with it, if you get any ideas how to make this work, I’ll merge.
Fixed in latest version of @putout/minify
🎉
npm -v
): 10.5.2node -v
: v20.13.1uname -a
on Linux): Darwin arm64Incorrect order of initialization variables