2016-06-23 03:06:18 +03:00
|
|
|
module.exports = {
|
2016-06-23 21:30:02 +03:00
|
|
|
entry: './test/models.spec.ts',
|
2016-06-23 03:06:18 +03:00
|
|
|
output: {
|
|
|
|
path: __dirname + "/tmp",
|
2016-06-23 21:30:02 +03:00
|
|
|
filename: 'models.spec.js'
|
2016-06-23 03:06:18 +03:00
|
|
|
},
|
|
|
|
devtool: 'source-map',
|
|
|
|
resolve: {
|
|
|
|
extensions: ['', '.webpack.js', '.web.js', '.ts', '.js']
|
|
|
|
},
|
|
|
|
module: {
|
|
|
|
loaders: [
|
|
|
|
{ test: /\.map$/, loader: 'ignore-loader' },
|
|
|
|
{ test: /\.d.ts$/, loader: 'ignore-loader' },
|
|
|
|
{ test: /\.ts$/, exclude: /\.d.ts$/, loader: 'ts-loader' },
|
|
|
|
{ test: /\.json$/, loader: 'json-loader' }
|
|
|
|
]
|
|
|
|
},
|
|
|
|
ts: {
|
|
|
|
configFileName: "webpack.test.tsconfig.json"
|
|
|
|
}
|
|
|
|
}
|