Major Changes
-
Minimum supported Node.js version is now
>= 22.11.0. (by @alexander-akait in #590) -
The package now ships native ESM as well as CommonJS.
"type": "module"is set, and anexportsmap exposesdist/esm/index.jstoimportanddist/cjs/index.jstorequire. Less is loaded via dynamicimport()instead ofrequire(). (by @alexander-akait in #593) -
lessLogAsWarnOrErrnow defaults totrue. Less warnings and errors are emitted as webpack warnings and errors by default. Set the option tofalseto restore the previous behavior of logging silently. (by @alexander-akait in #600)
Minor Changes
- Added types. (by @alexander-akait in #595)
Patch Changes
- Track files loaded synchronously by Less (e.g.
data-uri()and custom functions installed via@plugin) as webpack file dependencies. See #492. (by @alexander-akait in #596)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.