blob: 1979538897c6ed1926a2c7621d3ddbe2b7baf861 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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']
}
};
|