Source maps resolved wrongly @zeit/next-source-maps
Joozty opened this issue · comments
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:
- Clone this repo
- Run
npm ci
,npm run build
,npm run start
- Open in your browser localhost:3000/test/1
- Open the dev console and see the same warning as attached image.
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.
Alrighty then. Thanks for your help 🙂