Skip to content

Releases: walmartlabs/stylus-relative-loader

v3.4.0

19 Sep 21:31
Compare
Choose a tag to compare

Changes

  • A new query option, precacheImportVariables, can be used to speed up dynamic imports. This can greatly improve build times by resolving probable dynamic import paths ahead of time. See the README for documentation. (#15)

v3.2.1

31 Aug 17:39
Compare
Choose a tag to compare
  • Switch Promise library to from bluebird to es6-promise to resolve a Maximum call stack size exceeded error. #12

v3.2.0

31 Aug 17:38
Compare
Choose a tag to compare
  • Improve performance by resolving more of the import dependency tree ahead of time via static analysis.

v3.1.0

29 Jun 23:47
Compare
Choose a tag to compare

Faster import resolution using a new strategy wherein we still support dynamic imports, but queue up resolution of any static imports we see in the AST. Every time we break out of the render loop to resolve an import, we also resolve any in the queue.

See #9.

v3.0.1

28 Jun 19:18
Compare
Choose a tag to compare

Don't pass use option to Stylus renderer, handle ourselves instead. This prevents render() from initializing plugins on each attempt, causing multiple EventEmitter subscriptions and a "possible memory leak" warning.