32 lines
469 B
JavaScript
32 lines
469 B
JavaScript
// #docregion
|
|
module.exports = {
|
|
devtool: 'inline-source-map',
|
|
|
|
resolve: {
|
|
extensions: ['', '.ts', '.js']
|
|
},
|
|
|
|
module: {
|
|
loaders: [
|
|
{
|
|
test: /\.ts$/,
|
|
loader: 'ts'
|
|
},
|
|
{
|
|
test: /\.html$/,
|
|
loader: 'html'
|
|
|
|
},
|
|
{
|
|
test: /\.(png|jpe?g|gif|svg|woff|woff2|ttf|eot|ico)$/,
|
|
loader: 'null'
|
|
},
|
|
{
|
|
test: /\.css$/,
|
|
loader: 'null'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
// #enddocregion
|