[instant] Don't add debug stack to random `unstable_instant` exports (#90273)
Instead of just limiting the transform to any file within the app dir, we now restrict it to any page, default, or layout file in the app dir. This avoids having the transform applied to random modules. The inserted value would not have been used by anything.
Showing
Please
register
or
sign in
to comment