Skip to content

Commit

Permalink
Merge pull request #20748 from emberjs/package-meta
Browse files Browse the repository at this point in the history
attempting to fix metadata in alpha releases
  • Loading branch information
ef4 authored Sep 12, 2024
2 parents 202c5c6 + ca4ec82 commit f24fc7c
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 f24fc7c

Please sign in to comment.