We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f65c44c + 018cc49 commit 17b8ed7Copy full SHA for 17b8ed7
scripts/prepare/tsc.ts
@@ -59,7 +59,7 @@ const run = async ({ cwd, flags }: { cwd: string; flags: string[] }) => {
59
options: { ...compilerOptions, module: ts.ModuleKind.ES2020, declaration: false },
60
}).emit();
61
62
- const files = globSync(join(process.cwd(), 'dist', '*.js'));
+ const files = globSync(join(process.cwd(), 'dist', '**/*.js'));
63
await Promise.all(files.map((file) => move(file, file.replace('.js', '.mjs'), {})));
64
65
ts.createProgram({
0 commit comments