[TNL-198] Do not generate JS and CSS source maps in production
This commit is contained in:
@@ -3371,5 +3371,3 @@ Annotator.prototype.setupPlugins = function(config, options) {
|
||||
/*
|
||||
//
|
||||
*/
|
||||
|
||||
//@ sourceMappingURL=annotator-full.map
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user