uglify wepack content, kudos @chris-rock

This commit is contained in:
Dominik Richter 2016-09-14 23:31:01 +02:00 committed by Christoph Hartmann
parent 0622c2fd6e
commit b3fd0c046b
2 changed files with 7 additions and 1 deletions

View file

@ -21,6 +21,11 @@ module.exports = {
},
{
test: /\.css$/, loader: 'style!css',
},
{
test: /\.js$/,
exclude: /.spec.js/,
loader: "uglify"
}
],

View file

@ -49,6 +49,7 @@
"source-map-loader": "^0.1.5",
"ts-loader": "^0.8.2",
"typescript": "^1.8.10",
"typings": "^1.0.4"
"typings": "^1.0.4",
"uglify-loader": "^1.3.0"
}
}