-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when minify solid js #17
Labels
bug
Something isn't working
Comments
coderaiser
added a commit
to coderaiser/putout
that referenced
this issue
Jun 6, 2024
coderaiser
added a commit
to coderaiser/putout
that referenced
this issue
Jun 6, 2024
Just fixed in Is it works for you? |
coderaiser
added a commit
that referenced
this issue
Jun 6, 2024
Now it's broken import { minify } from "@putout/minify";
const source = `function on(e) {
const r = Array.isArray(e);
return r;
}
const DEV = void 0;
console.log({DEV,on});
`;
eval(source);
console.log('---');
const result = minify(source);
console.log(result);
eval(result); here's the library I'm trying to minify |
Please provide code examples of what you receive and what you expect |
coderaiser
added a commit
to coderaiser/putout
that referenced
this issue
Jun 9, 2024
coderaiser
added a commit
that referenced
this issue
Jun 9, 2024
anded in v3.19.2 🎉. Is it works for you? |
Nice, thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
npm -v
): 10.5.2node -v
: v20.13.1uname -a
on Linux): Darwin arm64Small reproduce
The text was updated successfully, but these errors were encountered: