Package Exports
- @putout/plugin-minify
- @putout/plugin-minify/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@putout/plugin-minify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@putout/plugin-minify 
πPutout plugin adds support of minifiers.
Install
npm i @putout/plugin-putout -DRules
{
"rules": {
"minify/remove-return-undefined": "on"
}
}remove-return-undefined
β Example of incorrect code
const fn = () => {
if (a)
return undefined;
return undefined;
};β Example of correct code
const fn = () => {
if (a)
return;
};License
MIT