You're right, `e.code` is not set in the browser. We could do something like `e.code === 'MODULE_NOT_FOUND' || e.match(/module '.*' not found/))`.