Mercurial > hg > ng2-query-ismi
comparison config/webpack.common.js @ 62:7787ca310644 webpack tip
update @angular to 4.4.5.
| author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
|---|---|
| date | Wed, 18 Oct 2017 17:46:41 +0200 |
| parents | 7b9d616695d3 |
| children |
comparison
equal
deleted
inserted
replaced
| 61:6adf95d9a190 | 62:7787ca310644 |
|---|---|
| 1 var webpack = require('webpack'); | 1 var webpack = require('webpack'); |
| 2 var HtmlWebpackPlugin = require('html-webpack-plugin'); | 2 var HtmlWebpackPlugin = require('html-webpack-plugin'); |
| 3 var ExtractTextPlugin = require('extract-text-webpack-plugin'); | 3 var ExtractTextPlugin = require('extract-text-webpack-plugin'); |
| 4 var helpers = require('./helpers'); | 4 var helpers = require('./helpers'); |
| 5 //var path = require('path') | |
| 6 //var webpackLinkPlugin = require('webpack-link'); | |
| 5 | 7 |
| 6 module.exports = { | 8 module.exports = { |
| 7 entry: { | 9 entry: { |
| 8 'polyfills': './src/polyfills.ts', | 10 'polyfills': './src/polyfills.ts', |
| 9 'vendor': './src/vendor.ts', | 11 'vendor': './src/vendor.ts', |
| 60 }), | 62 }), |
| 61 | 63 |
| 62 new HtmlWebpackPlugin({ | 64 new HtmlWebpackPlugin({ |
| 63 template: 'src/index.html' | 65 template: 'src/index.html' |
| 64 }) | 66 }) |
| 67 | |
| 68 // new webpackLinkPlugin({ | |
| 69 // localModule: path.resolve(__dirname, '../ng2-table') | |
| 70 // }) | |
| 65 ] | 71 ] |
| 66 }; | 72 }; |
