1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +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 ??= {};