BlessCSS/bless

@charset needed on each file

benlwilliams opened this issue · 3 comments

When bless splits up the file, the @charset does not get duplicated on the new file. This can be problematic when used in an HTML page that does not have the same character encoding. I can fix it by manually adding it, but it messes up my automation scripts (using gulp-bless). Any suggested solution for adding @charset at the beginning of each split file?

I'm not personally familiar with this problem, though we are open to pull requests. This sounds like a reasonable request.

@benlwilliams Thanks for reporting this. It does seem like something that should be supported.

I'm curious if you ran into #72 along the way.

I have not run into issue #72. In fact I verified that the "blessed" file did indeed have the original @charset "UTF-8" at the beginning of the file and has no issues from what I see.