[Pkg-javascript-devel] ES6 ‘import’ of Debian-installed module

Ben Finney bignose at debian.org
Tue Mar 6 21:37:22 UTC 2018


Pirate Praveen <praveen at onenetbeyond.org> writes:

> On ചൊവ്വ 06 മാർച്ച് 2018 03:45 വൈകു, Ben Finney wrote:
> > Is that a bug in the Debian Webpack, or a bug in the Debian
> > Backbone, or a bug in the Debian jQuery? Or a bug in the Webpack
> > configuration I've shown above?
>
> Do you have node-jquery installed? I don't think it is a bug in
> webpack or jquery, because the combination work well in case of
> gitlab.

The Debian ‘node-backbone’ package does not depend on ‘node-jquery’, yet
when Backbone is imported it needs jQuery. So this is a bug in the
Debian ‘node-backbone’ package?

The ‘node-backbone’ package “Suggests: libjs-jquery-lazyload”, so will
typically not bring in that package. Because the Backbone package can't
be imported without jQuery, is the bug then that ‘node-backbone’ should
actually declare a dependency on jQuery?

-- 
 \     “Books and opinions, no matter from whom they came, if they are |
  `\     in opposition to human rights, are nothing but dead letters.” |
_o__)                                                  —Ernestine Rose |
Ben Finney




More information about the Pkg-javascript-devel mailing list