Skip to content

Commit f24fc7c

Browse files
authored
Merge pull request #20748 from emberjs/package-meta
attempting to fix metadata in alpha releases
2 parents 202c5c6 + ca4ec82 commit f24fc7c

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)