I was looking into the code of a browser extension and wondering: “Why did the developers of a Manifest V3 (Chrome 88+) extension decide to transpile async functions (Chrome 55+) and for…of loops (Chrome 38+)?” Turns out, the extension was using this boilerplate.
You might want to drop using Babel transpiler altogether or at least restrict it to features not available to Chrome 88.
I was looking into the code of a browser extension and wondering: “Why did the developers of a Manifest V3 (Chrome 88+) extension decide to transpile async functions (Chrome 55+) and for…of loops (Chrome 38+)?” Turns out, the extension was using this boilerplate.
You might want to drop using Babel transpiler altogether or at least restrict it to features not available to Chrome 88.