forked from ghidoz/angular2-jsonapi
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwebpack.test.conf.js
More file actions
34 lines (33 loc) · 808 Bytes
/
webpack.test.conf.js
File metadata and controls
34 lines (33 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
'use strict';
module.exports = {
resolve: {
root: __dirname,
extensions: ['', '.ts', '.js', '.json']
},
devtool: 'inline-source-map',
module: {
loaders: [
{
test: /\.ts$/,
loader: 'ts',
exclude: [/node_modules/]
}
],
postLoaders: [
{
test: /\.(js|ts)$/,
loader: 'sourcemap-istanbul-instrumenter-loader',
exclude: [
/node_modules/,
/test/,
/\.(e2e|spec)\.ts$/
],
query: {
'force-sourcemap': true
}
}
]
},
stats: { colors: true, reasons: true },
debug: false
};