Mailspring/packages/local-sync/main.es6
2016-11-28 18:02:42 -08:00

16 lines
453 B
JavaScript

/* eslint global-require: 0 */
import {ComponentRegistry} from 'nylas-exports'
import {createLogger} from './src/shared/logger'
export function activate() {
global.Logger = createLogger('local-sync')
require('./src/local-api/app');
require('./src/local-sync-worker/app');
const Root = require('./src/local-sync-dashboard/root').default;
ComponentRegistry.register(Root, {role: 'Developer:LocalSyncUI'});
}
export function deactivate() {
}