From 6ba1210bb0c57285dc62aae142101937d1d0b670 Mon Sep 17 00:00:00 2001 From: rexim Date: Wed, 22 Nov 2023 09:42:47 +0700 Subject: [PATCH] [build.js] move --skipLibCheck to commonTscFlags --- build.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'