yorkxin / copy-as-markdown

A browser extension to copy tabs and links as Markdown
MIT License
542 stars 83 forks source link

Deprecate build script in favor of esmodule #120

Closed yorkxin closed 1 year ago

yorkxin commented 1 year ago

Summary

background.js with ESModule is supported as of Firefox 112. It might be possible to use the same background.js as Chrome.

https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/112#changes_for_add-on_developers

yorkxin commented 1 year ago

ESM done by #122 but the build script (cp) is still required because there are two targets to build: firefox and chrome.