Mailspring/packages/local-sync/main.es6

17 lines
453 B
Text
Raw Normal View History

/* eslint global-require: 0 */
import {ComponentRegistry} from 'nylas-exports'
import {createLogger} from './src/shared/logger'
2016-11-23 07:13:28 +08:00
2016-11-23 04:25:27 +08:00
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'});
2016-11-23 04:25:27 +08:00
}
export function deactivate() {
}