less-docs icon indicating copy to clipboard operation
less-docs copied to clipboard

Stress `filename` option as *a must* for most programmatic `less.render` use-cases.

Open seven-phases-max opened this issue 10 years ago • 2 comments

See #2342, #2583. (relative imports, ulrs, data-uris as well as source-maps and similar compiled-less-file-depended things just won't work properly w/o this option).

seven-phases-max avatar May 06 '15 23:05 seven-phases-max

While you're at it, how about specifying what all can be put into the options object when doing a programmatic less.render. The only thing the "docs" say, at time of writing, is that options are optional, and nothing about what options there even are! And the source code is too obtuse to try and find where the options are being used...

tustin2121 avatar Dec 28 '15 21:12 tustin2121

@tustin2121 Probably, but this is beyond this ticket scope. Create a new one if necessary.

seven-phases-max avatar Dec 29 '15 12:12 seven-phases-max