Skip to content

support BOM option#69

Open
xuemengfei wants to merge 1 commit into
outaTiME:masterfrom
xuemengfei:master
Open

support BOM option#69
xuemengfei wants to merge 1 commit into
outaTiME:masterfrom
xuemengfei:master

Conversation

@xuemengfei

Copy link
Copy Markdown

Because we are building projects with ASP.NET. We need BOM in the template file.

Hope this could be merge. Thanks!

@outaTiME

Copy link
Copy Markdown
Owner

Hi pal, thks for your PR ..

what about that:

http://gruntjs.com/api/grunt.file#grunt.file.preservebom

??

@outaTiME

outaTiME commented Aug 6, 2015

Copy link
Copy Markdown
Owner

Once again, do you try with http://gruntjs.com/api/grunt.file#grunt.file.preservebom ?

@xuemengfei

Copy link
Copy Markdown
Author

I'm so sorry, didn't see last email.

The preservebom option not work for me. Because I want to Add bom, not to Keep bom.

@outaTiME

Copy link
Copy Markdown
Owner

Np, pal ...

Why not put bom in you source file ?? it will be preserved on target o not ??

@xuemengfei

Copy link
Copy Markdown
Author

Because we use multiple IDE in our team. And I can't control everyone to let them add BOM in the source file :(

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants