Remove mitt and use an internal EventEmitter (#2477)
This fixes one of the crucial bug in Next.js The issue happens when you try to load a page when it's prefetching. With mitt, it only fires the first registered event.
Showing
lib/EventEmitter.js
0 → 100644
| ... | ... | @@ -77,7 +77,6 @@ |
| "loader-utils": "1.1.0", | ||
| "md5-file": "3.1.1", | ||
| "minimist": "1.2.0", | ||
| "mitt": "1.1.2", | ||
| "mkdirp-then": "1.2.0", | ||
| "mv": "2.1.1", | ||
| "mz": "2.6.0", | ||
| ... | ... |
This diff is collapsed.
Please
register
or
sign in
to comment