Skip to content

Commit

Permalink
Merge pull request #20699 from emberjs/fix-internals-entrypoints
Browse files Browse the repository at this point in the history
Bugfix: restore publishing of internals entrypoints
  • Loading branch information
ef4 authored May 22, 2024
2 parents 08537e2 + 417dbc5 commit f2940aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,10 @@ function packages() {
});

// add only the entrypoints of the rolledUpPackages
entryFiles = [...entryFiles, ...glob.sync(`{${rolledUpPackages().join(',')}}/index.{js,ts}`)];
entryFiles = [
...entryFiles,
...glob.sync(`{${rolledUpPackages().join(',')}}/index.{js,ts}`, { cwd: 'packages' }),
];

return Object.fromEntries(
entryFiles.map((filename) => [filename.replace(/\.[jt]s$/, ''), filename])
Expand Down

0 comments on commit f2940aa

Please sign in to comment.