<html><head></head><body>Thanks a lot !<br><br>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<br><br>Then we will be sure to have the same rollup than upstream<br><br><div class="gmail_quote">Le 25 juillet 2019 12:40:32 GMT+02:00, Pirate Praveen <praveen@onenetbeyond.org> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><br><br>On 2019, ജൂലൈ 25 3:32:04 PM IST, Pirate Praveen <praveen@onenetbeyond.org> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">After a lot of trial and error, I got to run rollup directly as an ES<br>module. I had to disable help.md loading. I will push this to a new<br>branch on salsa.<br><br>$ node --experimental-modules bin/src/index.js (node:20480)<br>ExperimentalWarning: The ESM module loader is experimental. <br> TODO:<br>$<br></blockquote><br>And it works! I was able to build node-d3-time with this version of rollup.<br><br>Check esm branch on salsa. Also remember to set NODE_PATH=/usr/lib/nodejs (because of using nodesource.com binary).<br><br>praveen@mahishasura:~/forge/node-d3-time$ node --experimental-modules ../node-rollup/bin/src/index.js -c (node:25592) ExperimentalWarning: The ESM module loader is experimental.<br> src/index.js → dist/d3-time.js... created dist/d3-time.js in 125ms praveen@mahishasura:~/forge/node-d3-time$</pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>