lxieyang / chrome-extension-boilerplate-react

A Chrome Extensions boilerplate using React 18 and Webpack 5.
MIT License
3.42k stars 1.07k forks source link

Reconsider the use of Babel transpiler #172

Closed palant closed 1 year ago

palant commented 1 year ago

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.

palant commented 1 year ago

Duplicate issue due to a GitHub hiccup.