32 lines
463 B
JavaScript
32 lines
463 B
JavaScript
|
// #docregion
|
||
|
module.exports = {
|
||
|
devtools: '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
|