Open Yanchek99 opened 4 years ago
Sprockets 4 has introduced breaking changes when using a regex in the precompile assets configuration. Instead the fix is to pull those assets in using the manifest.js configuration. Details
The following line causes issues when using Sprockets 4. https://github.com/railslove/fontello_rails_converter/blob/c781f956f3a7e23cf8990a5f86344940f949c21e/lib/fontello_rails_converter/railtie.rb#L7
FontAwesome has a fix that still uses the precompile path however they know the names of the font files as where we do not. https://github.com/FortAwesome/font-awesome-sass/commit/b8dd32cf3bcd5d14c12543d767f8db68b31a6a9b
I am facing same issue with this gem, did you get any luck or any way to use sprocket 4 with this gem?
Sprockets 4 has introduced breaking changes when using a regex in the precompile assets configuration. Instead the fix is to pull those assets in using the manifest.js configuration. Details
The following line causes issues when using Sprockets 4. https://github.com/railslove/fontello_rails_converter/blob/c781f956f3a7e23cf8990a5f86344940f949c21e/lib/fontello_rails_converter/railtie.rb#L7
FontAwesome has a fix that still uses the precompile path however they know the names of the font files as where we do not. https://github.com/FortAwesome/font-awesome-sass/commit/b8dd32cf3bcd5d14c12543d767f8db68b31a6a9b