Richard Schneeman
Richard Schneeman
Here's a talk at RailsConf talking about how webpack(er) handles these export lines https://youtu.be/2v4ySqyua1s?t=848
I'm not terribly familiar with the output of dtruss, however I can pick out some things. It looks like this call is the last attempt to load any gems around...
Hello! Thanks for opening up an issue. In order to move forwards with this issue I'll need an example app that reproduces the behavior (https://www.codetriage.com/example_app).
This is how erb is supported ```ruby require 'sprockets/erb_processor' register_transformer_suffix(%w( application/ecmascript-6 application/javascript application/json application/xml text/coffeescript text/css text/html text/plain text/sass text/scss text/yaml ), 'application/\2+ruby', '.erb', ERBProcessor) ``` It doesn't look like...
> NullCache to be marginally slower Marginally slower than what? I would think that NullCache performance would be the better than the other cache storage methods because it's doing less....
If you've got a minute to make an example app it will save us a minute and get this issue looked at faster https://speakerdeck.com/schneems/saving-sprockets?slide=143
Sorry for the extreme delay here. I'm not able to reproduce with the given app: ``` $ bundle exec rake assets:precompile /Users/rschneeman/.gem/ruby/2.4.2/gems/concurrent-ruby-1.0.2/lib/concurrent/map.rb:206: warning: constant ::Fixnum is deprecated /Users/rschneeman/.gem/ruby/2.4.2/gems/activesupport-5.0.0.1/lib/active_support/xml_mini.rb:51: warning: constant...
Can you give me an example app that reproduces the problem? What version of sprockets are you using? Are you building your own custom compile task like in that gist...
> I'm trying to extend assets:precompile task to add support for source maps. Can you use Sprockets 4 beta instead? It has source map support.