| const webpack = require('webpack'); |
| const conf = require('./gulp.conf'); |
| const path = require('path'); |
| const HtmlWebpackPlugin = require('html-webpack-plugin'); |
| const autoprefixer = require('autoprefixer'); |
| 'html?' + JSON.stringify({ |
| attrs: ["img:src", "img:ng-src"] |
| test: /\.(png|woff|woff2|eot|ttf|svg|jpg|gif|jpeg)$/, |
| loader: 'url-loader?limit=100000' |
| new webpack.optimize.OccurrenceOrderPlugin(), |
| new webpack.NoErrorsPlugin(), |
| template: conf.path.src('index.html') |
| postcss: () => [autoprefixer], |
| path: path.join(process.cwd(), conf.paths.tmp), |
| entry: `./${conf.path.src('index')}`, |
| configFileName: 'tsconfig.json' |
| configuration: require('../tslint.json') |