Skip to content

Commit

Permalink
fix: do not use cache for bundling types
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Jul 1, 2021
1 parent 373a4c6 commit ef5c57b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/commands/bundle-types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Options } from '#lib/interfaces';
import { rollup } from 'rollup';
import { fileURLToPath, URL } from 'url';
import dts from 'rollup-plugin-dts';
import { fileURLToPath, URL } from 'url';

/**
* Bundles all the TypeScript types with {@link rollup}
Expand All @@ -18,6 +18,7 @@ export async function bundleTypes(options: Options): Promise<void> {
format: 'es'
},
external: options.external,
plugins: [dts()]
plugins: [dts()],
cache: false
});
}

0 comments on commit ef5c57b

Please sign in to comment.