[Pkg-javascript-devel] Bug#1001526: pkg-js-tools: require autopkgtest should check if the module is commonjs before running require

Pirate Praveen praveen at onenetbeyond.org
Sat Dec 11 15:10:29 GMT 2021


Package: pkg-js-tools
Version: 0.9.84
Severity: wishlist

I think it is detects type: module in package.json, it should not run 
require test. May be there is another way to test the ES module, can we 
just do import * from module?

I don't know if there is an easy way to detect browser only modules.



More information about the Pkg-javascript-devel mailing list