Releases: walmartlabs/stylus-relative-loader
Releases · walmartlabs/stylus-relative-loader
v3.4.0
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
- Switch Promise library to from
bluebird
to es6-promise
to resolve a Maximum call stack size exceeded
error. #12
v3.2.0
- Improve performance by resolving more of the import dependency tree ahead of time via static analysis.
v3.1.0
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
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.