balderdashy / balderdashy/sails
Font awesome icons dont show up in production mode
- Dominant language
- JavaScript
- Stars
- 22.8k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
**Sails version**: 1.0.2
**Node version**: 8.4.0
**NPM version**: 6.0.1
**DB adapter name**: sails-mysql
**DB adapter version**: 1.0.0
**Operating system**: Windows 10 / Debian 8 / macOS / everything
I want to let you know that the white little icons in circles from font awesome on the default sails page with login, .. do not render correctly in production mode. Instead it shows unfilled white rectangles which means it cant find the icons. In development mode everything works fine. I looked this issue up on the internet and found out that others have this issue too. But there they provided a solution for a very old version of sails only. If it helps you: There they made changes to: tasks/config/copy.js and tasks/register/buildProd.js. Would be happy if you have a look and even happier if you could give me a workaround. Thank you
Contributor guide
Research direction
Start by reading tasks/config/copy.js and tasks/register/buildProd.js, which the report identifies as related to the production build. Reproduce the default Sails page in development and production, then trace how Font Awesome assets are copied or registered; done means the default page's icons render correctly in production.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100