-
Notifications
You must be signed in to change notification settings - Fork 361
Closed
Description
Summary
Bit of a weird one, but I'm seeing different results from Microbundle based on whether a dependency is hoisted or not. The module is resolved without issue in both cases.
As far as I can tell this is not specific to any one dependency.
Reproduction
- Clone https://github.com/rschristian/microbundle-symlink-bug
$ yarn install && yarn copy-to-root && yarn example build
- Note that the bundle is 262 b w/ brotli
$ yarn copy-to-subpackage && yarn example build
(so hoisted version won't be used)- Note that the bundle is now 42 b w/ brotli
This just uses a dummy package my-pkg
sat in the root of the project.
Metadata
Metadata
Assignees
Labels
No labels