import { PubSubEs6, config } from 'pub-sub-es6';
import { env } from '-/config';

if (env.development) {
    config.enableDebugger = true
    config.trace = true
}

global.PubSub = PubSubEs6

import PubSubEs6 from 'pub-sub-es6';

global.PubSub = PubSubEs6

Update init according to pub-sub-es6