aboutsummaryrefslogtreecommitdiff
path: root/rollup.config.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-06-03 16:34:00 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-06-03 16:34:00 +0530
commit2c35db7797275a03ab5972da7c3ecb915def3a12 (patch)
tree4a6400387415913755721e97d0c86cf2c2c12ada /rollup.config.js
parent27c22c28dffb85d786362aeb7dea58edaa546d73 (diff)
fix zip, get rid of content script remains
Diffstat (limited to 'rollup.config.js')
-rw-r--r--rollup.config.js33
1 files changed, 0 insertions, 33 deletions
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,
];