diff options
author | Sebastian <sebasjm@gmail.com> | 2022-09-05 11:06:50 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-09-05 13:04:31 -0300 |
commit | d7a55a165f5a826fdfc6e9bc58eb0ee70200828c (patch) | |
tree | 76379b82615cb5f139cf5a806defa880c9bb334a /packages/taler-wallet-core/rollup.config.js | |
parent | e0e33a88db7641775de16f5425bfc08e461a4f75 (diff) | |
download | wallet-core-d7a55a165f5a826fdfc6e9bc58eb0ee70200828c.tar.xz |
replace __VERSION__ with a string definition
Diffstat (limited to 'packages/taler-wallet-core/rollup.config.js')
-rw-r--r-- | packages/taler-wallet-core/rollup.config.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/rollup.config.js b/packages/taler-wallet-core/rollup.config.js index c6cd3ccef..948b7fa80 100644 --- a/packages/taler-wallet-core/rollup.config.js +++ b/packages/taler-wallet-core/rollup.config.js @@ -33,8 +33,11 @@ const nodeEntryPoint = { sourcemaps(), replace({ - '__VERSION__': `"${pkg.version}"`, - '__GIT_HASH__': `"${GIT_HASH}"`, + values: { + '__VERSION__': `"${pkg.version}"`, + '__GIT_HASH__': `"${GIT_HASH}"`, + }, + preventAssignment: false, }), commonjs({ |