skip to Main Content

Order of keys in package.json exports

I believe I understand the basic functioning of the exports key in package.json files: // package.json { "exports": { ".": { // used by typescript "types": "./file_with_type_defs.d.ts", // used by ESM resolution "import": "./file_to_import.mjs", // used by CJS resolution "require":…

VIEW QUESTION
Back To Top
Search