Bug#927254: [Pkg-javascript-devel] Bug#927254: possible solution

2019-06-18 Thread Pirate Praveen
On Tue, 11 Jun, 2019 at 12:18 PM, Paolo Greppi wrote: On 11/06/19 08:03, Pirate Praveen wrote: I think rollup-plugin-commonjs will also work without extra options, see node-d3-fetch. rollup-plugin-commonjs is already there in the upstream rollup config:

Bug#927254: [Pkg-javascript-devel] Bug#927254: possible solution

2019-06-11 Thread Paolo Greppi
On 10/06/19 20:03, Paolo Greppi wrote: ... Tomorrow I'll test the generated file inside laminar. If that works this is an acceptable solution. The last bit is to move this config change to debian/rollup-umd.js so that it does not impact all builds.. Paolo I tested with the non-minified

Bug#927254: [Pkg-javascript-devel] Bug#927254: possible solution

2019-06-11 Thread Paolo Greppi
On 11/06/19 08:03, Pirate Praveen wrote: I think rollup-plugin-commonjs will also work without extra options, see node-d3-fetch. rollup-plugin-commonjs is already there in the upstream rollup config: https://salsa.debian.org/js-team/vue-router.js/blob/master/build/configs.js#L4 P.

Bug#927254: [Pkg-javascript-devel] Bug#927254: possible solution

2019-06-11 Thread Pirate Praveen
On 2019, ജൂൺ 10 11:33:29 PM IST, Paolo Greppi wrote: >If I build manually the UMD version using the same command as in >debian/rules: > >NODE_PATH=debian/node_modules/ rollup -m -c debian/rollup-umd.js > >I get this: > >/home/paolog/Sviluppo/debian/vue-router.js/src/index.js →

Bug#927254: possible solution

2019-06-10 Thread Paolo Greppi
If I build manually the UMD version using the same command as in debian/rules: NODE_PATH=debian/node_modules/ rollup -m -c debian/rollup-umd.js I get this: /home/paolog/Sviluppo/debian/vue-router.js/src/index.js → dist/vue-router.js... (!) Unresolved dependencies