var HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
entry: './src/app.ts',
output: {
path: './build',
filename: 'bundle.js'
},
plugins: [
new HtmlWebpackPlugin({
title: 'RPGedit'
})
],
module: {
loaders: [
{ test: /\.css$/, loader: 'style-loader!css-loader' },
{ test: /\.ts$/, loader: 'ts-loader' }
]
},
resolve: {
extensions: ['', '.ts']
}
};