From 6af275ea3ab2908a5fbb9eab2b572c16a406860b Mon Sep 17 00:00:00 2001 From: mtyszczak Date: Mon, 3 Feb 2025 13:01:47 +0100 Subject: [PATCH] Use default delimiters in rollup plugin replace for bundling --- rollup.config.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 80204e9..b9efd25 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -33,11 +33,6 @@ export default [ 'comlink', 'idb' ] }), - replace({ - "from 'worker'": "from './worker.js'", - delimiters: ["", ""], - preventAssignment: true, - }), commonjs(), ], }), @@ -63,7 +58,6 @@ export default [ moduleDirectories: ["node_modules"], }), replace({ - delimiters: ["", ""], values: { 'import.meta.url': 'self.location.href' }, -- GitLab