[Pkg-javascript-devel] The (long) way to update rollup

Xavier yadd at debian.org
Thu Jul 25 12:32:19 BST 2019


Thanks a lot !

Could you build rollup with 2 passes ? First with node, then copy package.json, bin/ and dist/ to node_modules/rollup with a link in node_modules/.bin ; then rebuild with this rollup

Then we will be sure to have the same rollup than upstream

Le 25 juillet 2019 12:40:32 GMT+02:00, Pirate Praveen <praveen at onenetbeyond.org> a écrit :
>
>
>On 2019, ജൂലൈ 25 3:32:04 PM IST, Pirate Praveen
><praveen at onenetbeyond.org> wrote:
>>After a lot of trial and error, I got to run rollup directly as an ES
>>module. I had to disable help.md loading. I will push this to a new
>>branch on salsa.
>>
>>$ node --experimental-modules bin/src/index.js           (node:20480)
>>ExperimentalWarning: The ESM module loader is experimental.           
>
>>                                                           TODO:
>>$
>
>And it works! I was able to build node-d3-time with this version of
>rollup.
>
>Check esm branch on salsa. Also remember to set
>NODE_PATH=/usr/lib/nodejs (because of using nodesource.com binary).
>
>praveen at mahishasura:~/forge/node-d3-time$ node --experimental-modules
>../node-rollup/bin/src/index.js -c                                     
>(node:25592) ExperimentalWarning: The ESM module loader is
>experimental.
>src/index.js → dist/d3-time.js...               created dist/d3-time.js
>in 125ms                praveen at mahishasura:~/forge/node-d3-time$
>-- 
>Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
>-- 
>Pkg-javascript-devel mailing list
>Pkg-javascript-devel at alioth-lists.debian.net
>https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20190725/9ca4d22c/attachment.html>


More information about the Pkg-javascript-devel mailing list