We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e98e0ed commit ee5e649Copy full SHA for ee5e649
src/index.ts
@@ -86,7 +86,7 @@ const typescript: PluginImpl<RPT2Options> = (options) =>
86
{
87
check: true,
88
verbosity: VerbosityLevel.Warning,
89
- clean: false,
+ clean: true,
90
cacheRoot: findCacheDir({ name: "rollup-plugin-typescript2" }),
91
include: ["*.ts+(|x)", "**/*.ts+(|x)"],
92
exclude: ["*.d.ts", "**/*.d.ts"],
src/tscache.ts
@@ -118,6 +118,7 @@ export class TsCache
118
119
if (noCache)
120
121
+ this.context.warn(yellow("Cleaning cache... If you want to use caching, please set `clean` option to false."));
122
this.clean();
123
return;
124
}
0 commit comments