<div id="geary-body" dir="auto"><div><br></div></div><div id="geary-quote" dir="auto"><br>On Sun, Sep 29, 2019 at 18:08, Pirate Praveen <praveen@onenetbeyond.org> wrote:<br><blockquote type="cite"><div id="geary-body" dir="auto"><div><span style="white-space: pre-wrap;">Fixed this by a sed command, and now we get</span></div></div><div id="geary-quote" dir="auto"><div><span style="white-space: pre-wrap;"><br></span></div><div><span style="white-space: pre-wrap;">$ rollup --help
/usr/share/nodejs/rollup/bin/src/rollup:15
var command = minimist_1.default(process.argv.slice(2), {
                                ^

TypeError: minimist_1.default is not a function
    at /usr/share/nodejs/rollup/bin/src/rollup:15:33
    at Object.defineProperty.value (/usr/share/nodejs/rollup/bin/src/rollup:3:65)
    at Object.<anonymous> (/usr/share/nodejs/rollup/bin/src/rollup:6:2)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
</span></div><div><span style="white-space: pre-wrap;"><br></span></div></div></blockquote><span style="white-space: pre-wrap;"><br></span><div><span style="white-space: pre-wrap;">This is fixed by tsc --esModuleInterop</span></div><div><br></div><div>And now modified build to directly use the tsc output and there by removing the circular build dependency on rollup and its plugins (browser entry is still built by rollup but that could be fixed easily). I could now rebuild rollup using the built rollup. I will clean up the commits and upload this to experimental now.</div></div>