mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-21 05:50:55 +08:00
* fix(compiler): resolve package imports in npm graphs - Resolve package-scoped import maps with edge-specific conditions and diagnostics. - Add Chalk-compatible ambient typing and differential coverage across import forms. Fixes #374 Co-authored-by: Hagege Ruben <20857346+HagegeR@users.noreply.github.com> * test(compiler): make resolver parity paths portable - Normalize path separators before excluding package runtime trees from resolver parity sweeps. --------- Co-authored-by: Hagege Ruben <20857346+HagegeR@users.noreply.github.com>
27 lines
573 B
JSON
27 lines
573 B
JSON
{
|
|
"name": "importmapped",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"types": "./index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./index.d.ts",
|
|
"import": "./index.js"
|
|
}
|
|
},
|
|
"imports": {
|
|
"#exact": "./internal/exact.js",
|
|
"#pattern/*": "./internal/*.js",
|
|
"#condition": {
|
|
"browser": "./internal/browser.js",
|
|
"node": "./internal/node.js",
|
|
"default": "./internal/default.js"
|
|
},
|
|
"#mode": {
|
|
"import": "./internal/import-mode.js",
|
|
"require": "./internal/require-mode.cjs"
|
|
},
|
|
"#external": "dual"
|
|
}
|
|
}
|