1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00
joplin/packages/app-mobile/plugins/PluginRunner/backgroundPage/pluginRunnerBackgroundPage.ts
Henry Heino 55cafb8891
Android: Add support for Markdown editor plugins (#10086)
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
2024-03-11 15:02:15 +00:00

13 lines
381 B
TypeScript

export { runPlugin, stopPlugin } from './startStopPlugin';
const pathLibrary = require('path');
export const requireModule = (moduleName: string) => {
if (moduleName === 'path') {
return pathLibrary;
}
throw new Error(`Unable to require module ${moduleName} on mobile.`);
};
export { default as initializePluginBackgroundIframe } from './initializePluginBackgroundIframe';