DevFactoryCH/minify

Solution for image, font, etc in javascript file and style file

Closed this issue · 1 comments

Minify working good.
But i have trouble with include any file in css file, js file.
Have solution for this problem?
Route?
htaccess?

Well you should place the build folder in the same folder as your cs/js folders... you get something like this:

assets/
|-css/
|-js/
|-img/
|-fonts/
|-build/

Then you reference in your css, the fonts and images as being ../fonts/font.eof and ../img/image.png and the folder structure holds.