[Pkg-javascript-devel] need help with building node-dagre-d3-renderer with webpack
Pirate Praveen
praveen at onenetbeyond.org
Wed Jun 26 08:01:05 BST 2019
On 2019, ജൂൺ 25 5:08:43 PM IST, Pirate Praveen <praveen at onenetbeyond.org> wrote:
>
>
>On Tue, 25 Jun, 2019 at 3:13 PM, Pirate Praveen
><praveen at onenetbeyond.org> wrote:
>> Same error when changing package.json#main to dist/dagre-d3.js (umd
>> format).
>
>To confirm it is not a browser only library, I downloaded the
>dagre-d3-renderer dist.tarball from npmjs.com and the require command
>succeeds there.
I switched build from webpack to rollup and now require is passing.
I need to install ES modules of node-lodash for umd generation (dagre-d3-renderer is importing from lodash).
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
More information about the Pkg-javascript-devel
mailing list