Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): resolve less from build-angular p…
Browse files Browse the repository at this point in the history
…ackage

(cherry picked from commit cc51432)
  • Loading branch information
alan-agius4 authored and dgp1130 committed Jan 22, 2021
1 parent f925099 commit 958a6a5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
"karma-jasmine-html-reporter": "^1.5.0",
"karma-source-map-support": "1.4.0",
"less": "4.1.0",
"less-loader": "7.2.1",
"less-loader": "7.3.0",
"license-checker": "^25.0.0",
"license-checker-webpack-plugin": "0.2.1",
"loader-utils": "2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular_devkit/build_angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"jest-worker": "26.6.2",
"karma-source-map-support": "1.4.0",
"less": "4.1.0",
"less-loader": "7.2.1",
"less-loader": "7.3.0",
"license-webpack-plugin": "2.3.11",
"loader-utils": "2.0.0",
"mini-css-extract-plugin": "1.3.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
{
loader: require.resolve('less-loader'),
options: {
implementation: require('less'),
sourceMap: cssSourceMap,
lessOptions: {
javascriptEnabled: true,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7177,10 +7177,10 @@ lcid@^2.0.0:
dependencies:
invert-kv "^2.0.0"

less-loader@7.2.1:
version "7.2.1"
resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-7.2.1.tgz#a923df8567256751b0ab4e0c3eecff10fd0a5876"
integrity sha512-4v83WZ7KGbluOWPgk3iNjreAaJDNStfmmdfJbQIib3Jlc8mejV3w6A9xU+EkaivjBVqwQEK0y8cFthyNeGnrTQ==
less-loader@7.3.0:
version "7.3.0"
resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-7.3.0.tgz#f9d6d36d18739d642067a05fb5bd70c8c61317e5"
integrity sha512-Mi8915g7NMaLlgi77mgTTQvK022xKRQBIVDSyfl3ErTuBhmZBQab0mjeJjNNqGbdR+qrfTleKXqbGI4uEFavxg==
dependencies:
klona "^2.0.4"
loader-utils "^2.0.0"
Expand Down

0 comments on commit 958a6a5

Please sign in to comment.