diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-05 19:38:19 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-05 19:38:19 +0100 |
commit | f67d7f54f9d0fed97446898942e3dfee67ee2985 (patch) | |
tree | 2b81738025e8f61250ede10908cbf81071e16975 /rollup.config.js | |
parent | 829acdd3d98f1014747f15ecb619b6fbaa06b640 (diff) |
threads, retries and notifications WIP
Diffstat (limited to 'rollup.config.js')
-rw-r--r-- | rollup.config.js | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/rollup.config.js b/rollup.config.js index 8038b5094..e520a1bd8 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -29,4 +29,28 @@ const walletCli = { ] }; -export default [walletCli]; +const walletAndroid = { + input: 'dist/node/android/index.js', + output: { + file: 'dist/standalone/taler-wallet-android.js', + format: 'cjs' + }, + plugins: [ + json(), + + nodeResolve({ + external: builtins, + preferBuiltins: true + }), + + commonjs({ + include: ['node_modules/**', 'dist/node/**'], + extensions: [ '.js' ], + ignoreGlobal: false, // Default: false + sourceMap: false, + ignore: [ 'taler-wallet' ] + }) + ] +}; + +export default [walletCli, walletAndroid]; |