strip sourcemaps

This commit is contained in:
Antelle 2015-12-17 22:20:50 +03:00
parent c86a0f9900
commit 545734ba9f
2 changed files with 3 additions and 1 deletions

View File

@ -213,7 +213,8 @@ module.exports = function(grunt) {
]})},
{ test: /zepto(\.min)?\.js$/, loader: 'exports?Zepto; delete window.$; delete window.Zepto;' },
{ test: /baron(\.min)?\.js$/, loader: 'exports?baron; delete window.baron;' },
{ test: /pikadat\.js$/, loader: 'uglify' }
{ test: /pikadat\.js$/, loader: 'uglify' },
{ test: /handlebars/, loader: 'strip-sourcemap-loader' }
]
},
plugins: [

View File

@ -30,6 +30,7 @@
"handlebars-loader": "^1.1.4",
"load-grunt-tasks": "^3.2.0",
"string-replace-webpack-plugin": "0.0.2",
"strip-sourcemap-loader": "0.0.1",
"time-grunt": "^1.2.1",
"uglify-loader": "^1.3.0",
"webpack": "^1.12.6",