On 2019, ജൂലൈ 25 3:32:04 PM IST, Pirate Praveen <prav...@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@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@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@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to