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

2019-06-27 Thread Pirate Praveen
Control: tag -1 -help On Wed, 26 Jun, 2019 at 12:31 PM, Pirate Praveen wrote: I need to install ES modules of node-lodash for umd generation (dagre-d3-renderer is importing from lodash). After building node-lodash-es from node-lodash, I hit a dead end with node-graphlibrary as it did not

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

2019-06-26 Thread Pirate Praveen
On 2019, ജൂൺ 25 5:08:43 PM IST, Pirate Praveen wrote: > > >On Tue, 25 Jun, 2019 at 3:13 PM, Pirate Praveen > 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

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

2019-06-25 Thread Pirate Praveen
On Tue, 25 Jun, 2019 at 3:13 PM, Pirate Praveen 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.

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

2019-06-25 Thread Pirate Praveen
On Tue, 25 Jun, 2019 at 3:07 PM, Pirate Praveen wrote: Now there is another error (tried replacing commonjs2 with commonjs, also tried with nodejs 12), dh_auto_test --buildsystem=nodejs /usr/bin/node -e require\(\".\"\) /<>/dist/dagre-d3.core.js:950 function (node, name, id,

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

2019-06-25 Thread Pirate Praveen
Control: tag -1 help On Tue, 25 Jun, 2019 at 1:49 PM, Pirate Praveen wrote: While looking for something else in package.json, I realized, there was a line excluding node_modules and there was two places I needed to update. With the following patch, webpack is successful. Now there is