export default {
  input: 'dist/index.js',
  name: 'inputflow',
  sourcemap: true,
  output: {
    file: 'dist/bundles/inputflow.umd.js',
    format: 'umd',
  },
  globals: {
    '@angular/core': 'ng.core',
    'rxjs/Observable': 'Rx',
    'rxjs/Subject': 'Rx',
    'rxjs/observable/merge': 'Rx.Observable',
    'rxjs/observable/timer': 'Rx.Observable',
    'rxjs/operators': 'Rx.operators',
  },
};

export default {
  input: 'dist/index.js',
  output: {
    name: 'inputflow',
    file: 'dist/bundles/inputflow.umd.js',
    format: 'umd',
    sourcemap: true,
    globals: {
      '@angular/core': 'ng.core',
      'rxjs/Observable': 'Rx',
      'rxjs/Subject': 'Rx',
      'rxjs/observable/merge': 'Rx.Observable',
      'rxjs/observable/timer': 'Rx.Observable',
      'rxjs/operators': 'Rx.operators',
    },
  },
};

update config to new format