tablecheck / dartsass-sprockets

Integrate Dart Sass with Sprockets (Ruby on Rails asset pipeline)
MIT License
35 stars 5 forks source link

Fix custom importer and avoid mutex lock for custom functions #22

Closed ntkme closed 7 months ago

ntkme commented 7 months ago

Two changes in this PR:

  1. Restore support of options[:importer] so that user can override importer.
  2. Port https://github.com/rails/sprockets/pull/798 to here so that we can avoid a mutex lock, improving dev server's performance.
ntkme commented 7 months ago

@johnnyshields Please take a look when you get a chance.

ntkme commented 7 months ago

@johnnyshields Pinging again.