diff --git a/lib/bootstrap-generators.rb b/lib/bootstrap-generators.rb index ef86740..8f3131c 100644 --- a/lib/bootstrap-generators.rb +++ b/lib/bootstrap-generators.rb @@ -11,7 +11,9 @@ class Engine < ::Rails::Engine app.config.assets.paths << ::Rails.root.join('app', 'assets', 'fonts') - app.config.assets.precompile << /\.(?:svg|eot|woff|woff2|ttf)$/ + %w(eot svg ttf woff woff2).each do |ext| + app.config.assets.precompile << "bootstrap/glyphicons-halflings-regular.#{ext}" + end end end end