Skip to content

Commit ca4ec82

Browse files
committed
attempting to fix metadata in alpha releases
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.
1 parent 8498b29 commit ca4ec82

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rollup.config.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,11 @@ function pruneEmptyBundles() {
502502
function packageMeta() {
503503
let renamedModules = Object.fromEntries(
504504
glob
505-
.sync('**/*.js', { cwd: 'dist/packages', ignore: ['shared-chunks/**'], nodir: true })
505+
.sync('**/*.js', {
506+
cwd: new URL('dist/packages', import.meta.url).pathname,
507+
ignore: ['shared-chunks/**'],
508+
nodir: true,
509+
})
506510
.map((name) => {
507511
return [name, 'ember-source/' + name];
508512
})

0 commit comments

Comments
 (0)