From 2c35db7797275a03ab5972da7c3ecb915def3a12 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 3 Jun 2020 16:34:00 +0530 Subject: fix zip, get rid of content script remains --- rollup.config.js | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'rollup.config.js') diff --git a/rollup.config.js b/rollup.config.js index 4e3666ea6..71748a864 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -150,43 +150,10 @@ const webExtensionCryptoWorker = { ], }; -const webExtensionContentScript = { - input: "dist/node/webex/notify.js", - output: { - file: "dist/webextension/contentScript.js", - format: "iife", - exports: "default", - name: "webExtensionContentScript", - }, - external: builtins, - plugins: [ - json(), - - nodeResolve({ - preferBuiltins: true, - }), - - terser(), - - replace({ - "process.env.NODE_ENV": JSON.stringify("production"), - }), - - commonjs({ - include: ["node_modules/**", "dist/node/**"], - extensions: [".js"], - ignoreGlobal: false, // Default: false - sourceMap: false, - ignore: ["taler-wallet"], - }), - ], -}; - export default [ walletCli, walletAndroid, webExtensionPageEntryPoint, webExtensionBackgroundPageScript, webExtensionCryptoWorker, - webExtensionContentScript, ]; -- cgit v1.2.3