mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
perf(tabs): improve tab switching response
This commit is contained in:
committed by
Adam Bradley
parent
d2ebac3d27
commit
907191bbc2
@@ -53,7 +53,7 @@ export function createTempTsConfig(includeGlob: string[], target: string, module
|
||||
}
|
||||
|
||||
function removeDebugStatements() {
|
||||
let replacer = new Replacer(['console.debug', 'assert']);
|
||||
let replacer = new Replacer(['console.debug', 'assert', 'runInDev']);
|
||||
return through.obj(function (file, encoding, callback) {
|
||||
const content = file.contents.toString();
|
||||
const cleanedJs = replacer.replace(content);
|
||||
|
||||
Reference in New Issue
Block a user