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

Middleman Does Not Process _foundation-icons.scss #27

Open
JustinHardage opened this issue Feb 28, 2016 · 0 comments
Open

Middleman Does Not Process _foundation-icons.scss #27

JustinHardage opened this issue Feb 28, 2016 · 0 comments

Comments

@JustinHardage
Copy link

  1. I set up a middleman project with foundation, using axyz/middleman-zurb-foundation.
  2. Then, I used bower install foundation-icon-fonts to install the font icon package.
  3. I set up the foundation icon path in app.css.scss as $fi-path: "../bower_components/foundation-icon-fonts";
  4. The middleman build output shows that the app.css file references url("foundation-icons.woff") at the root instead of the above path.

I discovered this was because the build was simply copying foundation-icons.css instead of processing _foundation-icons.scss. I resolved this by moving foundation-icons.css to a .bkp file name so that middleman would actually look into the scss file and see my new path.

Is this expected behavior? Is there some other pre-process step I should make before middleman build?

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

No branches or pull requests

1 participant