EmailThis / extension-boilerplate

⚡️ A template for building cross browser extensions for Chrome, Opera & Firefox.
https://www.emailthis.me/open-source/extension-boilerplate
MIT License
3.28k stars 370 forks source link

Use mozilla polyfill to enable promise-based API interop with Chrome #19

Open 0xc00010ff opened 6 years ago

0xc00010ff commented 6 years ago

Having some trouble getting this into the build process for extension-boilerplate: https://github.com/mozilla/webextension-polyfill.

Tried manually adding the built polyfill file to extension-boilerplate src and referencing in the manifest.json, but its not making its way into the build/ when building.

Would be a great feature to have. Am currently dealing with a nightmare trying to use the cookies.get() API and support callbacks in chrome and promises in firefox.