mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
16 lines
433 B
JavaScript
16 lines
433 B
JavaScript
/* eslint global-require: 0 */
|
|
import {ComponentRegistry} from 'nylas-exports'
|
|
import {createLogger} from './src/shared/logger'
|
|
|
|
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'});
|
|
}
|
|
|
|
export function deactivate() {
|
|
|
|
}
|