Skip to content

Commit

Permalink
attempting to fix metadata in alpha releases
Browse files Browse the repository at this point in the history
The alpha release CI is publishing with empty renamed-modules. I'm not quite sure why. This will eliminate the possibility that it's a CWD problem.
  • Loading branch information
ef4 committed Sep 12, 2024
1 parent 8498b29 commit ca4ec82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,11 @@ function pruneEmptyBundles() {
function packageMeta() {
let renamedModules = Object.fromEntries(
glob
.sync('**/*.js', { cwd: 'dist/packages', ignore: ['shared-chunks/**'], nodir: true })
.sync('**/*.js', {
cwd: new URL('dist/packages', import.meta.url).pathname,
ignore: ['shared-chunks/**'],
nodir: true,
})
.map((name) => {
return [name, 'ember-source/' + name];
})
Expand Down

0 comments on commit ca4ec82

Please sign in to comment.