gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] 02/02: remove legacy rollup file


From: gnunet
Subject: [taler-wallet-core] 02/02: remove legacy rollup file
Date: Tue, 21 Feb 2023 21:42:09 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

commit 71707e5d45b73b458e2d0eb6c29415caa7d2ad37
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Feb 21 21:42:01 2023 +0100

    remove legacy rollup file
---
 packages/taler-wallet-cli/rollup.config.js | 58 ------------------------------
 1 file changed, 58 deletions(-)

diff --git a/packages/taler-wallet-cli/rollup.config.js 
b/packages/taler-wallet-cli/rollup.config.js
deleted file mode 100644
index fd3eed97b..000000000
--- a/packages/taler-wallet-cli/rollup.config.js
+++ /dev/null
@@ -1,58 +0,0 @@
-// rollup.config.js
-import commonjs from "@rollup/plugin-commonjs";
-import nodeResolve from "@rollup/plugin-node-resolve";
-import json from "@rollup/plugin-json";
-import builtins from "builtin-modules";
-import pkg from "./package.json";
-import sourcemaps from "rollup-plugin-sourcemaps";
-import path from "path";
-import replace from "@rollup/plugin-replace";
-import child_process from 'child_process';
-
-const printedVersion = `${pkg.version}-${getGitRevision()}`
-
-export default {
-  input: "lib/index.js",
-  output: {
-    file: pkg.main,
-    format: "es",
-    sourcemap: true,
-    sourcemapPathTransform: (relativeSourcePath, sourcemapPath) => {
-      // Transform to source map paths to virtual path.  Otherwise,
-      // error messages would contain paths that look like they should exist 
(relative to
-      // the bundle) but don't.
-      const res = path.normalize(
-        path.join("/_walletsrc/packages/taler-wallet-cli/src/", 
relativeSourcePath),
-      );
-      return res;
-    },
-  },
-  external: builtins,
-  plugins: [
-    replace({
-      __VERSION__: `"${printedVersion}"`,
-      preventAssignment: true,
-    }),
-
-    nodeResolve({
-      preferBuiltins: true,
-      exportConditions: ["node"],
-    }),
-
-    sourcemaps(),
-
-    commonjs({
-      sourceMap: true,
-      transformMixedEsModules: true,
-    }),
-
-    json(),
-  ],
-};
-
-function getGitRevision() {
-  return child_process.execSync(`git rev-parse --short HEAD`, {
-    encoding: 'utf-8',
-    windowsHide: true,
-  }).trim();
-}

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]