Examine the existing optimize js source code to understand how it optimizes JavaScript parsing. Research Babel plugin API documentation to design a plugin that integrates optimize js transformations. Check the 5 comments on this issue for any user feedback or suggested approaches. Since the repository is unmaintained, consider forking the project or asking the maintainer if they would accept a PR.
make a babel-plugin ? · nolanlawson/optimize-js#16 | Good First Issue