Skip to content

Commit 6eac695

Browse files
committed
clear cache between builds
1 parent ff47671 commit 6eac695

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rollup.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ export function makeBaseBundleConfig(options) {
9494
},
9595
},
9696
include: ['*.ts+(|x)', '**/*.ts+(|x)', '../**/*.ts+(|x)'],
97+
// the typescript plugin doesn't handle concurrency very well, so clean the cache between builds and don't complain
98+
// when old cache files can't be found (see https://github.com/ezolenko/rollup-plugin-typescript2/issues/15)
99+
clean: true,
100+
verbosity: 0,
97101
};
98102

99103
const typescriptPluginES5 = typescript(

0 commit comments

Comments
 (0)