mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-30 10:36:35 +02:00
55cafb8891
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
13 lines
381 B
TypeScript
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';
|