import 'sub/sub';
/**
 * @constructor
 */
export class App {
  constructor(val) {
    this.val = val;
  }
}

let m = new App('main');
if (process.env.NODE_ENV === 'development') {
  console.debug('main value:', m.val);
}

import {Sub} from 'sub/sub';
/**
 * @constructor
 */
export class App {
  constructor(val) {
    this.val = val;
  }
}

let m = new App('main');
if (process.env.NODE_ENV === 'development') {
  console.debug('main value:', m.val);
}

console.log(new Sub('aaaa'));

update sample