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']
  }
};
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'
    },
    'ng2-bootstrap/components/position': 'ng2-bootstrap/components/position'
  },
  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']
  }
};
Revert "Bundle the position service with the lib for now so users dont have to depend on ng2-bootstrap"
Revert "Bundle the position service with the lib for now so users dont have to depend on ng2-bootstrap"

This reverts commit 807a45bfcc7140124271e7e0e47e6fb4a22093b0.
