sprockets_uglifier_with_source_maps
sprockets_uglifier_with_source_maps copied to clipboard
sourcemaps not getting generated..
I have a project with: ruby '2.1.5' gem 'rails', '4.2.6' gem 'uglifier' gem 'sprockets', github: 'rails/sprockets' gem 'sprockets-rails', github: 'rails/sprockets-rails' gem 'sass-rails', github: 'rails/sass-rails' gem 'sprockets_uglifier_with_source_maps'
My development.rb file has the following params: config.assets.debug = false config.sass.debug_info = false config.sass.line_comments = false config.assets.uglifier = {output: {beautify: true, indent_level: 2}, compress: {angular: true}} config.assets.js_compressor = :uglifier_with_source_maps
I actually clone your new_stack project and added some js files but still am not seeing any map files generated. Maybe I'm configuring something incorrectly? Thanks!
Having the same issue, no source maps are generated at all in production or dev environments:
ruby 2.2.4 rails 4.2.6
(all other gems are the same as @danscrima's setup)
Nothing generated at run time or when using rake assets:precompile
rm -rf tmp/cache
may help
I was able to fix the issue by using:
gem 'uglifier', '~> 3.2'
gem 'execjs', '~> 2.7'