-
Notifications
You must be signed in to change notification settings - Fork 788
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
Node_modules can not be copied #735
Comments
Is |
Can you provide an example application that reproduce the issue? |
FWIW I tried to reproduce this, but couldnt (Although I approached it slightly differently by importing the CSS into the application.js file) https://github.com/KonnorRogers/fontawesome-free-repro-rails ^ Generated via: rails new -j esbuild
yarn add @fortawesome/fontawesome-free EDIT: Got this to fail. Never called |
Update, I got the repo to fail. I never called |
Expected behavior
Having configured the following in
app/assets/config/manifest.js
//= link_tree ../../../node_modules/@fortawesome/fontawesome-free/webfonts/
And precompiled with:
rails assets:precompile
The expected fonts (*.ttf files) should be copied to public/assets/
Actual behavior
The expected fonts (*.ttf files) are not copied to public/assets/
System configuration
Example App (Reproduction) -
yarn add @fortawesome/fontawesome-free
app/assets/config/manifest.js
to copy fonts when compiling assets//= link_tree ../../../node_modules/@fortawesome/fontawesome-free/webfonts/
rails assets:precompile
The text was updated successfully, but these errors were encountered: