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

Pirate Praveen praveen at onenetbeyond.org
Thu Jul 25 11:40:32 BST 2019



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.



More information about the Pkg-javascript-devel mailing list