Open tunesmith opened 3 years ago
latest in package.json at time of submission - 10.1.3
latest
14.16.0
chrome
macOS
next build --profile; next start (local in prod mode)
Starting with npx create-next-app --example with-typescript with-typescript-app, I added:
npx create-next-app --example with-typescript with-typescript-app
module.exports = { productionBrowserSourceMaps: true, }
to next.config.js, and I altered npm run build to run:
npm run build
"build": "next build --profile",
Then when I did a build and a start, the React Profiler doesn't show the proper names of the components:
In prod mode with --profile and productionSourceMaps, I expect profiler to show proper names of components:
See above, I used with-typescript and altered two files.
with-typescript
Reproduced in 13.0.6. Repo: https://github.com/JanKaifer/next-repro-23756
13.0.6
What version of Next.js are you using?
latest
in package.json at time of submission - 10.1.3What version of Node.js are you using?
14.16.0
What browser are you using?
chrome
What operating system are you using?
macOS
How are you deploying your application?
next build --profile; next start (local in prod mode)
Describe the Bug
Starting with
npx create-next-app --example with-typescript with-typescript-app
, I added:to next.config.js, and I altered
npm run build
to run:Then when I did a build and a start, the React Profiler doesn't show the proper names of the components:
Expected Behavior
In prod mode with --profile and productionSourceMaps, I expect profiler to show proper names of components:
To Reproduce
See above, I used
with-typescript
and altered two files.