rsnext/test/e2e/instrumentation-hook/general
Jiachi Liu b08fb216bf
Fix instrument bundling as client components (#60984)
### What

When users're using nextjs server API that break the build, and error
with incorrect client components usage.
Instrument should be treated as server components or server-only build
target, instead of being treated as client components.

### How

We added a new layer `instrument` for instrument hook bundling, and
apply it with the rsc server webpack loaders

Fixes #57563
Closes NEXT-2181
Closes NEXT-1994
2024-01-24 20:02:53 +01:00
..
pages Fix instrumentation not being called on edge in some cases (#47495) 2023-03-27 20:54:43 +00:00
instrumentation.js Fix instrument bundling as client components (#60984) 2024-01-24 20:02:53 +01:00
next.config.js Ensure NextBuildContext is only used during build (#60099) 2024-01-02 10:25:52 +01:00