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

7 lines
247 B
JavaScript
Raw Normal View History

// 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 ??= {};