Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Reduce optimization level to -O1 to speed up builds
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Jul 19, 2019
1 parent 18fc449 commit 1ef004b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gulp-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ function compile(inputFile, outputFile, callback) {
const asc = getAsc();
asc.main([
inputFile,
"-O3",
// TODO: Optimiziation is very slow, enable it only conditionally for "prod" builds?
"-O1",
"--baseDir", "assembly",
"--binaryFile", outputFile,
"--sourceMap",
Expand Down

0 comments on commit 1ef004b

Please sign in to comment.