Commit 12f280b6 by Tim Babych

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

parent 535e6e4f
...@@ -3371,5 +3371,3 @@ Annotator.prototype.setupPlugins = function(config, options) { ...@@ -3371,5 +3371,3 @@ Annotator.prototype.setupPlugins = function(config, options) {
/* /*
// //
*/ */
//@ sourceMappingURL=annotator-full.map
...@@ -132,7 +132,7 @@ def compile_sass(debug=False): ...@@ -132,7 +132,7 @@ def compile_sass(debug=False):
""" """
sh(cmd( sh(cmd(
'sass', '' if debug else '--style compressed', 'sass', '' if debug else '--style compressed',
"--sourcemap", "--sourcemap" if debug else '',
"--cache-location {cache}".format(cache=SASS_CACHE_PATH), "--cache-location {cache}".format(cache=SASS_CACHE_PATH),
"--load-path", " ".join(SASS_LOAD_PATHS + THEME_SASS_PATHS), "--load-path", " ".join(SASS_LOAD_PATHS + THEME_SASS_PATHS),
"--update", "-E", "utf-8", " ".join(SASS_UPDATE_DIRS + THEME_SASS_PATHS), "--update", "-E", "utf-8", " ".join(SASS_UPDATE_DIRS + THEME_SASS_PATHS),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment