Skip to content

Commit

Permalink
Allow to pass "true" to InputOptions.cache
Browse files Browse the repository at this point in the history
Vite has changed the default of this option to "false" (vitejs/vite#11454), therefore it is needed to be able to set it to "true" explicitly. This may be useful in other situations too, e.g. extending some defaults options object which contains this option set to "false".
  • Loading branch information
danielrentz committed Feb 15, 2023
1 parent 90ebbf5 commit 61b2927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rollup/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ export type InputPluginOption = MaybePromise<Plugin | NullValue | false | InputP
export interface InputOptions {
acorn?: Record<string, unknown>;
acornInjectPlugins?: (() => unknown)[] | (() => unknown);
cache?: false | RollupCache;
cache?: boolean | RollupCache;
context?: string;
experimentalCacheExpiry?: number;
external?: ExternalOption;
Expand Down

0 comments on commit 61b2927

Please sign in to comment.