Skip to content

Commit

Permalink
fix(externals): correctly specify multiple external dependencies in p…
Browse files Browse the repository at this point in the history
…ackage.json (#1013)
  • Loading branch information
tobiasdiez authored Mar 3, 2023
1 parent 3b3221b commit 9e38bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rollup/plugins/externals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ export function externals(opts: NodeExternalsOptions): Plugin {
const bundledDependencies = Object.fromEntries(
Object.values(tracedPackages)
.sort((a, b) => a.name.localeCompare(b.name))
.map((pkg) => [pkg.name, Object.keys(pkg.versions).join(" | ")])
.map((pkg) => [pkg.name, Object.keys(pkg.versions).join(" || ")])
);

await fsp.writeFile(
Expand Down

0 comments on commit 9e38bd2

Please sign in to comment.