Le 16/12/2020 à 14:39, Pirate Praveen a écrit : > > > On 2020, ഡിസംബർ 16 6:45:06 PM IST, Xavier <y...@debian.org> wrote: >> import tape from "tape"; >> ^^^^^^ >> >> SyntaxError: Cannot use import statement outside a module > > We need .babelrc too. > > https://salsa.debian.org/js-team/node-d3-geo/-/blob/master/debian/patches/use-babel-register-for-esm.patch
Ok, works with pkg-js-tools 0.9.56 + this patch: https://salsa.debian.org/js-team/node-tape/-/blob/master/debian/patches/fix-register-paths.patch -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel