On 05/05/2022 15:49, Pirate Praveen wrote:


On വ്യാ, മേയ് 5 2022 at 03:46:30 വൈകു +0200 +0200, Yadd <y...@debian.org> wrote:
On 05/05/2022 11:53, Pirate Praveen wrote:
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"
    },

Hi,

could you give me the repository link ?

This is a new package and I need some more work before I can push it. For now you can just try with npm2deb create istextorbinary I think.

Could you give me the link to a complete "exports" syntax ? It seems there are many ways to declare CJS files

Reply via email to