Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions buildpackage.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,18 @@ const UglifyES = require("uglify-es");
}
}

// RestClientBase is the base class extensions must extend to implement
// custom REST clients, but it is not re-exported by any index — the deep
// import "azure-devops-extension-api/Common/RestClientBase" was the only
// way to reach it, and it worked until the exports map (which restricts
// subpath resolution to listed entries) was introduced. Keep that path
// working with an explicit entry.
exports["./Common/RestClientBase"] = {
"import": "./esm/Common/RestClientBase.js",
"require": "./Common/RestClientBase.js",
"types": "./Common/RestClientBase.d.ts"
};

// "main" and "module" are fallbacks for older bundlers that don't support
// the "exports" map (e.g. Webpack 4). Modern bundlers use "exports" exclusively.
// Note: top-level "types" is intentionally omitted. Modern TypeScript (4.7+)
Expand Down