Skip to content

Commit

Permalink
Reintroduce force quit
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed May 21, 2023
1 parent b916a08 commit d6bf91a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion rollup.config.ts
Expand Up @@ -137,7 +137,16 @@ export default async function (
terser({ module: true, output: { comments: 'some' } }),
collectLicensesBrowser(),
writeLicenseBrowser(),
cleanBeforeWrite('browser/dist')
cleanBeforeWrite('browser/dist'),
{
closeBundle() {
// On CI, macOS runs sometimes do not close properly. This is a hack
// to fix this until the problem is understood.
console.log('Force quit.');
setTimeout(() => process.exit(0));
},
name: 'force-close'
}
],
strictDeprecations: true,
treeshake
Expand Down

0 comments on commit d6bf91a

Please sign in to comment.