How to get more verbose build output? Only production build fails with TypeError: f.charCodeAt is not a function
#14907
-
Hey everyone! Recently my prod build started failing with the error message below. I want to try to investigate it more myself, but the line:character number simply refers to the code that throws the error, which doesn't help me much. So I was wondering, how can I make more verbose build output to debug? Or how else to go about this? The error only occurs for production builds, including on Vercel. Thanks!
PS: Here is my repo, which is a reproducible case: https://github.com/4cm4k1/personal-website UpdateI managed to get some more output pointing at
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The issue appears to be coming from this CSS import in your import '@material/layout-grid/dist/mdc.layout-grid.css'; In particular this sytnax |
Beta Was this translation helpful? Give feedback.
The issue appears to be coming from this CSS import in your
_app.tsx
. If you comment this out, it will build:In particular this sytnax
@supports (display: grid) { ... }
does not appear to be supported.