Next.js: How to enable Sourcemaps?

Created on 28 Oct 2016  路  7Comments  路  Source: vercel/next.js

How to enable Sourcemaps?

Most helpful comment

Any way to use source map as of Next.js v 2.4.0 ? It's kinda hard to debug with generated filenames and code...

All 7 comments

Unfortunately, It's not supported for now.

Can you elaborate why? Any plans when this will be added?

It's just low priority. We'd like to add it sooner or later, or a PR will be appreciated 馃槃

This could be solved by #40?

Any way to use source map as of Next.js v 2.4.0 ? It's kinda hard to debug with generated filenames and code...

any news on this?

Going to lock this. It's an issue from 28 october 2016. Latest canary has many improvements to sourcemaps.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

timneutkens picture timneutkens  路  3Comments

lixiaoyan picture lixiaoyan  路  3Comments

rauchg picture rauchg  路  3Comments

wagerfield picture wagerfield  路  3Comments

swrdfish picture swrdfish  路  3Comments