On Tue, Dec 29, 2020 at 16:52, Jonas Smedegaard <[email protected]> wrote:
Quoting Pirate Praveen (2020-12-29 16:28:17)
I'd like to remove embedded copy of rollup-plugin-node-resolve from
bullseye and port all modules to use @rollup/plugin-node-resolve
I have rebuilt all the reverse dependencies and you can see the list
of packages that failed at
https://wiki.debian.org/Javascript/Nodejs/Transitions/Rollup-plugin-node-resolve-legacy-rm
Most of the time, just a simple one line change should be enough.
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -1,5 +1,5 @@
import ascii from "rollup-plugin-ascii";
-import node from "rollup-plugin-node-resolve";
+import node from "@rollup/plugin-node-resolve";
import {terser} from "rollup-plugin-terser";
import * as meta from "./package.json";
...and then tighten build-dependencies to something like this:
node-rollup-plugin-node-resolve (>= 9),
More tips are added to the wiki page shared above. With help from Jonas
and Abraham Raji, we have just 4 more packages to fix. Once current
version of eslint/node-regexpp in unstable migrates to testing, I will
upload this version to unstable.
--
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel