Closed Joozty closed 3 years ago
I have a route like /test/[id].jsx and when I import css module in that file it source map is resolved relative to that part, i.e. /test/sourcemap.css.map
/test/[id].jsx
/test/sourcemap.css.map
npm ci
npm run build
npm run start
Thanks a lot for looking into it.
That package is probably no longer supported. Try removing it and add experimental → productionBrowserSourceMaps in your next.config.js instead.
experimental
productionBrowserSourceMaps
next.config.js
Alrighty then. Thanks for your help 🙂
I have a route like
/test/[id].jsx
and when I import css module in that file it source map is resolved relative to that part, i.e./test/sourcemap.css.map
Steps to reproduce:
npm ci
,npm run build
,npm run start
Thanks a lot for looking into it.