Skip to content

Commit

Permalink
[build.js] move --skipLibCheck to commonTscFlags
Browse files Browse the repository at this point in the history
  • Loading branch information
rexim committed Nov 22, 2023
1 parent 6037db4 commit 6ba1210
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ function cmd(program, args) {
}

const commonTscFlags = [
'--strict', 'true',
'--removeComments', 'true'
'--strict',
'--removeComments',
'--skipLibCheck',
];

const mainTs = [
Expand All @@ -38,7 +39,6 @@ function tscServiceWorker(...extraParams) {
cmd('tsc', [
...commonTscFlags,
'--lib', 'webworker',
'--skipLibCheck', 'true',
'--outFile', 'serviceworker.js',
...extraParams,
'serviceworker.ts'
Expand Down

0 comments on commit 6ba1210

Please sign in to comment.