v5.0.0
·
122 commits
to master
since this release
5.0.0 (2021-02-02)
Notes
- using
~
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
.
⚠ BREAKING CHANGES
- minimum supported
webpack
version is5
Features
- supported the
resolve.byDependency
option, you can setup{ resolve: { byDependency: { stylus: { mainFiles: ['custom', '...'] } } } }