angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Sourcemaps for production environment

Open c-muresan opened this issue 10 years ago • 7 comments

Is there a way to generate source maps for production? I have a bug that only reproduces after uglify/mangle

c-muresan avatar Nov 10 '16 13:11 c-muresan

Source maps are generated for production, there is currently no way to disable them.

lordmat0 avatar Nov 19 '16 19:11 lordmat0

I'm looking for disabling source map in production :P

aggarwalankush avatar Dec 09 '16 05:12 aggarwalankush

Hey! You can use --no-sourcemap ;)

Perezmarc avatar Dec 21 '16 09:12 Perezmarc

Closing as --no-sourcemap is now available.

filipesilva avatar Dec 29 '16 18:12 filipesilva

Since #3963 the default has changed. No source maps by default, enable them with --sourcemap

awerlang avatar Jan 16 '17 16:01 awerlang

--sourcemap has been changed to --source-map in angular 6

adnan-kamili avatar May 17 '18 13:05 adnan-kamili

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.