forked from Gbuomprisco/ng2-expansion-panels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.test.js
35 lines (32 loc) · 817 Bytes
/
webpack.test.js
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
35
module.exports = {
devtool: 'cheap-module-source-map',
resolve: {
extensions: ['', '.ts', '.js']
},
module: {
loaders: [
{
test: /\.ts$/,
loaders: [ 'awesome-typescript-loader', 'angular2-template-loader' ]
},
{
test: /\.png/,
loader: "url-loader",
query: { mimetype: "image/png" }
},
{
test: /\.css$/,
loader: 'css'
},
{
test: /\.html$/,
loader: "html"
},
{
test: /\.scss$/,
loaders: ["style", "css", "sass"]
},
{test: /\.svg/, loader: 'svg-url-loader'}
]
}
};