Maybe I'm misunderstanding how this works but i'll see if I can explain first.
The default location for assets is <app-name>/public/assets, which then copy to <app-name>/dist/assets upon building. The problem lies in setting the default directories for any assets within ember-cli-compass-compiler.
Compass sets the font directory to /fonts by default. This causes warnings upon every build: WARNING: 'font.ttf' was not found in <app-name>/fonts but the fonts are found and work as expected in the browser.
To remove these warnings, I set the --fonts-dir option to public/assets/fonts. But compiling doesn't remove the public/assets portion, so naturally the browser can't find the font in <app-name>/dist/assets/public/assets/fonts.
Proposal: To me the default for ember-cli-compass-compiler should be public/assets/fonts which then compiles to fonts, since <app-name>.css already sits in the assets directory. This would remove the warnings and work as expected. Either that or like I said, I'm misunderstanding how to set the defaults properly.
Maybe I'm misunderstanding how this works but i'll see if I can explain first.
The default location for assets is
<app-name>/public/assets, which then copy to<app-name>/dist/assetsupon building. The problem lies in setting the default directories for any assets within ember-cli-compass-compiler.Compass sets the font directory to
/fontsby default. This causes warnings upon every build:WARNING: 'font.ttf' was not found in <app-name>/fontsbut the fonts are found and work as expected in the browser.To remove these warnings, I set the
--fonts-diroption topublic/assets/fonts. But compiling doesn't remove thepublic/assetsportion, so naturally the browser can't find the font in<app-name>/dist/assets/public/assets/fonts.Proposal: To me the default for ember-cli-compass-compiler should be
public/assets/fontswhich then compiles tofonts, since<app-name>.cssalready sits in theassetsdirectory. This would remove the warnings and work as expected. Either that or like I said, I'm misunderstanding how to set the defaults properly.