Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprockets 4 does not support regex in precompile assets configuration #48

Open
Yanchek99 opened this issue Dec 17, 2019 · 1 comment
Open

Comments

@Yanchek99
Copy link

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.

app.config.assets.precompile << /\.(?:svg|eot|woff|woff2|ttf)$/

FontAwesome has a fix that still uses the precompile path however they know the names of the font files as where we do not. FortAwesome/font-awesome-sass@b8dd32c

@eng-usamak
Copy link

I am facing same issue with this gem, did you get any luck or any way to use sprocket 4 with this gem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants