Vincent Pizzo dc62ecb9b5 fix(@angular-devkit/build-angular): Allow less-loader to use webpack resolver
- 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.
2018-06-08 12:00:06 +01:00
..