build.corejs
* feat: add build option to set corejs version * fix tests * refactor: improve error handling and warn for invalid corejs version * fix: only pick major part * simplify as we are already using try/catch Co-authored-by: pooya parsa <pyapar@gmail.com>