Closed meezwhite closed 1 year ago
The following doesn't seem to minify correctly:
class Animal { constructor(name) { this.name = name; } } const lion = new Animal('lion'); const isLion = lion instanceof Animal; // <-- this minifies incorrectly
The last line minifies to something like:
// ... const b = new Animal('lion'); const a = binstanceofAnimal; // <-- missing spaces
Thank you! Fixed with https://github.com/putoutjs/printer/commit/2ee5b24b0890bb4a53b90a956ff5e49336216bfe. Landed in @putout/minify@1.17.3 🎉.
@putout/minify@1.17.3
Is it works for you?
It works, thank you!
The following doesn't seem to minify correctly:
The last line minifies to something like: