wilson428 / node-lessify

LESS precompiler plugin for Browserify v2
MIT License
24 stars 13 forks source link

Limit on compiled css length? #4

Closed harborhoffer closed 10 years ago

harborhoffer commented 10 years ago

I am having a terrible time trying to this working and what I have discovered is that for some reason document.createTextNode(css) does not render my entire compiled CSS. Is there a string limit on createTextNode? In text mode I am able to require my css and document.write the complete compiled css to the body of my page and its all there. I've tried on the latest versions of chrome and safari. Any ideas?

wilson428 commented 10 years ago

I had the same problem when trying to require bootstrap.less, but I had trouble figuring out the exact limit. It's pretty large though. I'm going to close this for now because I don't think split up a very long CSS string is in-scope for this module, but happy to entertain ideas.