How can I get the Rails asset pipeline to produce source maps?

后端 未结 4 652
太阳男子
太阳男子 2021-02-01 13:49

I\'d like to have Rails produce source maps alongside the compiled coffeescript/minified JS, for better error logging. There doesn\'t seem to be comprehensive documentation on t

4条回答
  •  庸人自扰
    2021-02-01 14:12

    Tested this. It works. https://github.com/markbates/coffee-rails-source-maps. However it makes your asset rendering much slower.

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题