1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +02:00
joplin/packages/app-clipper/content_scripts/setUpEnvironment.js

7 lines
247 B
JavaScript

// Our TypeScript config generates files that use CommonJS `export`s, which
// aren't defined in a browser.
//
// While this is (somehow) fine in Chrome, it breaks the extension in Firefox.
// We thus define window.exports:
window.exports ??= {};