I use the less compiler with node.js and I know there is an issue with the files encoded in UTF-8 with BOM. For this, this workaround works great:
data = data.replace(/^\uFEFF/, ''); // Strip potential BOM
However, when importing files, using @import
statements still gives a syntax error on first line. Are there any way to work around this as well?