Skip to content

Releases: emberfeather/less.js-middleware

3.1.0

12 Jun 16:13
Compare
Choose a tag to compare

Update less to 3.9.

3.0.1

12 Jun 16:13
Compare
Choose a tag to compare

Ignore imports to external requests.

Less 3 Support

16 May 13:12
Compare
Choose a tag to compare

Upgraded Less to version 3.

Bug Fix Release

23 Feb 02:54
Compare
Choose a tag to compare

Fixing bug #123 with the less file imports not having the information needed to invalidate the cache based on imported file changes.

Added the preprocess.importPaths to allow for changing the import paths based on the request variables.

Less 2.4 Compatibility

22 Feb 06:31
Compare
Choose a tag to compare

Updating to the latest version of Less to enable all the new features, especially the ability to use less plugins!

Comes with some breaking changes, be sure to consult the readme for the current options.

  • Upgraded to the 2.4 version of Less.
  • Updated dependencies to the latest versions.
  • Removed options.parser since Less is simplifying to just a render function.
  • Using options.render for passing through all rendering options directly to the less rendering.
  • Added postprocess.sourcemap option for modifying the sourcemap.
  • Added storeSourcemap option for manipulating the sourcemap storage.
  • Removed pre 0.1.x warning

SourceMap and Caching

24 Aug 06:24
Compare
Choose a tag to compare

This release includes improvements by @neekey and @viveksjain targeting sourcemap improvements and caching.

With the improvements from @neekey, the sourcemap option for the compiler should be better at returning the correct line numbers in the css map.

Working with large numbers of less files also became easier thanks to @viveksjain who implemented a cacheFile for saving "the imports (in JSON format) to the given cacheFile on exit." This can greatly improve startup time when nothing has changed in the fines.