Skip to content

Commit fc1622f

Browse files
committed
docs: Adding changeset
1 parent e237804 commit fc1622f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.changeset/clean-shoes-applaud.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'microbundle': patch
3+
---
4+
5+
Don't attempt to write build stats in watch mode when there has been a build error/sizeInfo is `undefined`

src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ function doWatch(options, cwd, steps) {
177177
}
178178
}
179179
if (e.code === 'END') {
180-
// fix NPE
181180
if (options._sizeInfo) {
182181
options._sizeInfo.then(text => {
183182
stdout(`Wrote ${text.trim()}`);

0 commit comments

Comments
 (0)