Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Jul 19, 2024
1 parent 7eba8d5 commit 8c33489
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/utils/get-rollup-configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ const getConfig = {
options: Options,
tsconfig: TsConfigResult | null,
) => {
const dts = await import('rollup-plugin-dts');
const ts = await import('typescript');
const [dts, ts] = await Promise.all([
import('rollup-plugin-dts'),
import('typescript'),

Check warning on line 48 in src/utils/get-rollup-configs.ts

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

Maximum number of dependencies (15) exceeded
]);
return {
input: [] as string[],
preserveEntrySignatures: 'strict' as const,
Expand Down

0 comments on commit 8c33489

Please sign in to comment.