summaryrefslogtreecommitdiffstats
path: root/webpack.config.js
blob: 3bbb7baa70853ad118662afda7fe03a3b2224098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
var HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
  entry: './src/app.ts',
  output: {
    path: './build',
    filename: 'bundle.js'
  },
  module: {
    loaders: [
      { test: /\.css$/, loader: 'style-loader!css-loader' },
      { test: /\.ts$/, loader: 'ts-loader' }
    ]
  },
  resolve: {
    extensions: ['', '.ts']
  },
  ts: {
    compilerOptions: { noEmit: false }
  }
};