mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-28 06:53:42 +08:00
Interop the rewrite cannot finish now refuses its package only when the compiled program can load that file: the module order closed over every literal require() and import() and, in package JavaScript, every import and export declaration (a computed specifier keeps every file loadable). A package reached through a leaf subpath and types from its main entry stays static. Auto mode also no longer refuses a whitespace/syntax minified bundle whose interop helpers keep their names: the recognizers judge it instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
179 B
JavaScript
7 lines
179 B
JavaScript
"use strict";
|
|
exports.managers = [
|
|
{ name: "npm", lockfile: "package-lock.json" },
|
|
{ name: "pnpm", lockfile: "pnpm-lock.yaml" },
|
|
{ name: "yarn", lockfile: "yarn.lock" },
|
|
];
|