mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 11:03:53 +08:00
- If you look at https://github.com/webpack-contrib/less-loader#less-resolver, it states that if you provide paths, it will use the less resolver. We should only use the less-resolver when stylePreprocessorOptions.includePaths are actually given. - This fixes issues where if in your less file you `@import "~@dependency/less-file";` it actually resolves correct and when you import something like `@import "some-local-file";` it actually recompiles when `ng build --watch` is ran.