[Pkg-javascript-devel] Removing legacy rollup-plugin-node-resolve module
Jonas Smedegaard
jonas at jones.dk
Tue Dec 29 15:52:09 GMT 2020
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),
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20201229/c3516ef8/attachment.sig>
More information about the Pkg-javascript-devel
mailing list