Skip to content

Commit

Permalink
more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ef4 committed Sep 12, 2024
1 parent c8929fa commit 153e3f2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { dirname, parse, resolve, join } from 'node:path';
import { existsSync, readFileSync, statSync, writeFileSync } from 'node:fs';
import { existsSync, readdirSync, readFileSync, statSync, writeFileSync } from 'node:fs';
import { createRequire } from 'node:module';
import { fileURLToPath } from 'node:url';
import glob from 'glob';
Expand Down Expand Up @@ -514,6 +514,15 @@ function packageMeta() {
})
);
console.log(`updating packageMeta: ${JSON.stringify(renamedModules, null, 2)}`);
console.log(
`glob sync opts ${JSON.stringify({
cwd: new URL('dist/packages', import.meta.url).pathname,
ignore: ['shared-chunks/**'],
nodir: true,
})}`
);
console.log(`readdir ${readdirSync('dist/packages/')}`);
console.log(`cwd ${process.cwd()}`);
return {
name: 'package-meta',
buildEnd(error) {
Expand Down

0 comments on commit 153e3f2

Please sign in to comment.