feedhenry-staff/cordova-angular-browserify

Release Bundle Operation - CSS Referenced Files

Closed this issue · 0 comments

Building a release bundle needs to become a little more intelligent.

If you bundle a component installed via bower (Ionic in my case) the font files referenced by the CSS will not be copied into the /www directory relative to the CSS. The same case could occur for images/icons. This could be manually added to the Grunt/Gulp/Make file but that somewhat defeats the purpose.

An interesting work around would be to Base64 any files referenced in the CSS and inject them into the CSS bundle in place of file paths. For now copying the files may be a better, more simple solution.