diff options
author | Sebastian <sebasjm@gmail.com> | 2021-08-23 16:51:49 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-08-23 16:52:33 -0300 |
commit | 67e511d719cbc3e7f2b391a8d6914406caa2fb24 (patch) | |
tree | 0dc25e6c26ba0acc4c2aa217e1d30bfb1112268d /packages/taler-wallet-webextension/rollup.config.js | |
parent | 39cbad89bbed61487a973e4df92084da1b0dc728 (diff) | |
download | wallet-core-67e511d719cbc3e7f2b391a8d6914406caa2fb24.tar.xz |
updated build fast for web
Diffstat (limited to 'packages/taler-wallet-webextension/rollup.config.js')
-rw-r--r-- | packages/taler-wallet-webextension/rollup.config.js | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/packages/taler-wallet-webextension/rollup.config.js b/packages/taler-wallet-webextension/rollup.config.js index 5a3f0db5f..150db1fff 100644 --- a/packages/taler-wallet-webextension/rollup.config.js +++ b/packages/taler-wallet-webextension/rollup.config.js @@ -44,9 +44,6 @@ const makePlugins = () => [ linaria({ sourceMap: process.env.NODE_ENV !== 'production', }), - css({ - output: 'styles.css', - }), ]; @@ -59,7 +56,12 @@ const webExtensionWalletEntryPoint = { exports: "none", name: "webExtensionWalletEntry", }, - plugins: makePlugins(), + plugins: [ + ...makePlugins(), + css({ + output: 'walletEntryPoint.css', + }), + ], }; const webExtensionPopupEntryPoint = { @@ -70,7 +72,12 @@ const webExtensionPopupEntryPoint = { exports: "none", name: "webExtensionPopupEntry", }, - plugins: makePlugins(), + plugins: [ + ...makePlugins(), + css({ + output: 'popupEntryPoint.css', + }), + ], }; const webExtensionBackgroundPageScript = { |