From 59457a6bce96768d4764ee9bf3388e7c2ee788c9 Mon Sep 17 00:00:00 2001 From: Tobias Berger Date: Thu, 14 Oct 2021 13:22:00 +0200 Subject: [PATCH] Fix pwa build config --- pwa.rollup.config.mjs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pwa.rollup.config.mjs b/pwa.rollup.config.mjs index 27ba2a0..cabae7b 100644 --- a/pwa.rollup.config.mjs +++ b/pwa.rollup.config.mjs @@ -10,10 +10,7 @@ export default { preferConst: true, strict: true, }, - plugins: [ - typescript({ sourceMap: false, include: "**/service-worker.ts", lib: ["WebWorker"] }), - production && terser({ output: { comments: false } }), - ], + plugins: [typescript({ tsconfig: "src/pwa/tsconfig.json" }), production && terser({ output: { comments: false } })], watch: { clearScreen: false, },