Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable source map generation in rails 5

I am trying to setup a rails 5 application with a source map generation for both javascript (CoffeeScript) and css (scsss) in development. What is the configuration I need?

like image 420
Nas Avatar asked Jan 29 '26 08:01

Nas


1 Answers

Add

//= link application.js.map
//= link application.css.map

to app/assets/config/manifest.js

like image 119
proton Avatar answered Jan 31 '26 23:01

proton