allow debug_version override in production mode
This commit is contained in:
parent
6bc4284630
commit
b9868570c1
1 changed files with 3 additions and 0 deletions
3
app.js
3
app.js
|
|
@ -639,6 +639,9 @@ function concatCode(array) {
|
||||||
let cached = getCachedFile(file, function(path) {
|
let cached = getCachedFile(file, function(path) {
|
||||||
return minify(`${dir}/${file}`);
|
return minify(`${dir}/${file}`);
|
||||||
});
|
});
|
||||||
|
if (oversion) {
|
||||||
|
cached = `self.debug_version='${oversion}';` + cached;
|
||||||
|
}
|
||||||
code.push(cached);
|
code.push(cached);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue