We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
npm -v
node -v
uname -a
Error with removing export values
import { minify } from "@putout/minify"; const source = `function test() { return [1, 2]; } export const [one, two] = test();`; const result = minify(source); console.log('>', result, '<');
❯ node i.js > <
The text was updated successfully, but these errors were encountered:
feature: @putout/plugin-remove-unused-variables: add support of Array…
bba017f
…Pattern inside ExportNamedDeclaration (putoutjs/minify#22)
feature: @putout/minify: remove-unused-variables, const (#20, #22)
4a093ed
The funny thing, that this is the same :)
export const [one, two] = test();`;
and:
const [one, two] = test(); export { one, two,
Just fixed in v3.19.6 🎉
Sorry, something went wrong.
Thank you
No branches or pull requests
npm -v
): 10.5.2node -v
: v20.13.1uname -a
on Linux): Darwin arm64Error with removing export values
The text was updated successfully, but these errors were encountered: