stylus-loader
Advanced tools
Changelog
5.0.0 (2021-02-02)
~
is deprecated and can be removed from your code (we recommend it), but we still support it for historical reasons.Why you can removed it?
The loader will first try to resolve @import
/@require
as relative, if it cannot be resolved, the loader will try to resolve @import
/@require
inside node_modules
.
webpack
version is 5
resolve.byDependency
option, you can setup { resolve: { byDependency: { stylus: { mainFiles: ['custom', '...'] } } } }
Changelog
4.0.0 (2020-09-29)
Node.js
version is 10.13
, minimum require webpack
version is 4
stylus
options were moved to stylusOptions
compress
option is true
in the production
moderesolveUrl
option is { nocheck: true }
by defaultsources
by defaultcompress
option (5278fb4)additionalData
option (#248) (9f781b7)hoistAtrules
option (#276) (90ff982)lineNumbers
option (#278) (637575c)webpackImporter
option (#244) (bbe232a)stylusOptions
using function (028a759)binop
nodes (#262) (538f4ba)All notable changes to this project will be documented in this file. See standard-version for commit guidelines.