Skip to content

Commit 67c62c7

Browse files
committed
clear cache between builds
1 parent 79909d0 commit 67c62c7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

rollup.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@ 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
98+
// (see https://github.com/ezolenko/rollup-plugin-typescript2/issues/15)
99+
clean: true,
100+
// TODO: For the moment, the above issue seems to have stopped spamming the build with (non-blocking) errors, as it
101+
// was originally. If it starts again, this will suppress that output. If we get to the end of the bundle revamp and
102+
// it still seems okay, we can take this out entirely.
103+
// verbosity: 0,
97104
};
98105

99106
const typescriptPluginES5 = typescript(

0 commit comments

Comments
 (0)