[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#930223: [Pkg-javascript-devel] need help with building node-dagre-d3-renderer with webpack




On 2019, ജൂൺ 25 5:08:43 PM IST, Pirate Praveen <praveen@onenetbeyond.org> wrote:
>
>
>On Tue, 25 Jun, 2019 at 3:13 PM, Pirate Praveen 
><praveen@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.


Reply to: