less-loader
Advanced tools
Changelog
8.0.0 (2021-02-01)
~
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
as relative, if it cannot be resolved, the loader will try to resolve @import
inside node_modules
.
webpack
version is 5
resolve.byDependency
option, you can setup { resolve: { byDependency: { less: { mainFiles: ['custom', '...'] } } } }