[TNL-198] Do not generate JS and CSS source maps in production

This commit is contained in:
Tim Babych
2014-09-12 18:13:25 +03:00
parent 535e6e4f57
commit 12f280b62a
2 changed files with 1 additions and 3 deletions

View File

@@ -3371,5 +3371,3 @@ Annotator.prototype.setupPlugins = function(config, options) {
/*
//
*/
//@ sourceMappingURL=annotator-full.map

View File

@@ -132,7 +132,7 @@ def compile_sass(debug=False):
"""
sh(cmd(
'sass', '' if debug else '--style compressed',
"--sourcemap",
"--sourcemap" if debug else '',
"--cache-location {cache}".format(cache=SASS_CACHE_PATH),
"--load-path", " ".join(SASS_LOAD_PATHS + THEME_SASS_PATHS),
"--update", "-E", "utf-8", " ".join(SASS_UPDATE_DIRS + THEME_SASS_PATHS),