fix: leave intermediate artifacts in watch (#3272)

This commit is contained in:
Zach Pomerantz 2022-02-10 08:50:56 -08:00 committed by GitHub
parent b33686855d
commit 5175cb6d1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -68,7 +68,7 @@ const type = {
external: isAsset,
plugins: [
dts({ compilerOptions: { baseUrl: 'dist/dts' } }),
del({ hook: 'buildEnd', targets: ['dist/widgets.tsc', 'dist/dts'] }),
process.env.ROLLUP_WATCH ? undefined : del({ hook: 'buildEnd', targets: ['dist/widgets.tsc', 'dist/dts'] }),
],
}