module.exports = {
  entry: './angular2-bootstrap-confirm.ts',
  output: {
    filename: './angular2-bootstrap-confirm.js',
    libraryTarget: 'umd',
    library: 'ng2BootstrapConfirm'
  },
  externals: {
    'angular2/core': {
      root: ['ng', 'core'],
      commonjs: 'angular2/core',
      commonjs2: 'angular2/core',
      amd: 'angular2/core'
    }
  },
  devtool: 'source-map',
  module: {
    preLoaders: [{
      test: /\.ts$/, loader: 'tslint?emitErrors=true&failOnHint=true', exclude: /node_modules/
    }],
    loaders: [{
      test: /\.ts$/, loader: 'ts', exclude: /node_modules/,
      query: {
        compilerOptions: {
          declaration: true
        }
      }
    }]
  },
  resolve: {
    extensions: ['', '.ts', '.js']
  }
};
@@ -348,16 +348,94 @@
 e'%0A    %7D
+,%0A    'ng2-bootstrap/components/position': 'ng2-bootstrap/components/position'
 %0A  %7D,%0A  

Revert "Bundle the position service with the lib for now so users dont have to depend on ng2-bootstrap"