[Pkg-javascript-devel] Bug#1010602: pkg-js-tools should run require test when node#exports#require is specified in package.json

Pirate Praveen praveen at onenetbeyond.org
Thu May 5 10:53:44 BST 2022


Package: pkg-js-tools
Version: 0.14.19

An example is istextorbinary module it has both esm and cjs versions 
and so require test should not be skipped even though type: module is 
present.

  "type": "module",
  "main": "edition-es2019/index.js",
  "exports": {
    "node": {
      "import": "./edition-es2019-esm/index.js",
      "require": "./edition-es2019/index.js"
    },



More information about the Pkg-javascript-devel mailing list