© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Suarez
Babel adds bootstrap code to every single file which becomes repetitive across files. Is there any way to overcome this?
Henry
Maintaining @babel
not sure what "bootstrap" code is, but I assume you mean helper methods. If it's the same then gzip covers it and otherwise you can use babel-plugin-transform-runtime
Justin Ridgewell
I write code
Definitely recommend checking out babel-plugin-transform-runtime. Specifically, only enable helpers and disable polyfill and regenerator.
helpers
polyfill
regenerator