diff --git a/build.js b/build.js index c0d8cdb..5e76e4c 100644 --- a/build.js +++ b/build.js @@ -14,8 +14,9 @@ function cmd(program, args) { } const commonTscFlags = [ - '--strict', 'true', - '--removeComments', 'true' + '--strict', + '--removeComments', + '--skipLibCheck', ]; const mainTs = [ @@ -38,7 +39,6 @@ function tscServiceWorker(...extraParams) { cmd('tsc', [ ...commonTscFlags, '--lib', 'webworker', - '--skipLibCheck', 'true', '--outFile', 'serviceworker.js', ...extraParams, 'serviceworker.ts'