Mailspring/packages/local-sync/main.es6

17 lines
433 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()
require('./src/local-api');
require('./src/local-sync-worker');
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() {
}