Skip to content

Commit 7972ec7

Browse files
alan-agius4clydin
authored andcommitted
build: update stylus-loader to version 4.1.0
1 parent b236341 commit 7972ec7

File tree

4 files changed

+19
-22
lines changed

4 files changed

+19
-22
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
"speed-measure-webpack-plugin": "1.3.3",
210210
"style-loader": "1.3.0",
211211
"stylus": "0.54.7",
212-
"stylus-loader": "3.0.2",
212+
"stylus-loader": "4.1.0",
213213
"symbol-observable": "2.0.3",
214214
"tar": "^6.0.0",
215215
"temp": "^0.9.0",

packages/angular_devkit/build_angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"speed-measure-webpack-plugin": "1.3.3",
6565
"style-loader": "1.3.0",
6666
"stylus": "0.54.8",
67-
"stylus-loader": "3.0.2",
67+
"stylus-loader": "4.1.0",
6868
"terser": "5.3.4",
6969
"terser-webpack-plugin": "4.2.2",
7070
"text-table": "0.2.0",

packages/angular_devkit/build_angular/src/webpack/configs/styles.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,13 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
156156
{
157157
loader: require.resolve('stylus-loader'),
158158
options: {
159-
sourceMap: { comment: false },
160-
paths: includePaths,
159+
sourceMap: cssSourceMap,
160+
webpackImporter: false,
161+
stylusOptions: {
162+
compress: false,
163+
sourceMap: { comment: false },
164+
paths: includePaths,
165+
},
161166
},
162167
},
163168
],

yarn.lock

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7502,7 +7502,7 @@ loader-utils@2.0.0, loader-utils@^2.0.0:
75027502
emojis-list "^3.0.0"
75037503
json5 "^2.1.2"
75047504

7505-
loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3, loader-utils@^1.4.0:
7505+
loader-utils@^1.1.0, loader-utils@^1.2.3, loader-utils@^1.4.0:
75067506
version "1.4.0"
75077507
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613"
75087508
integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==
@@ -7546,11 +7546,6 @@ lodash._reinterpolate@^3.0.0:
75467546
resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d"
75477547
integrity sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=
75487548

7549-
lodash.clonedeep@^4.5.0:
7550-
version "4.5.0"
7551-
resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef"
7552-
integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=
7553-
75547549
lodash.get@^4.4.2:
75557550
version "4.4.2"
75567551
resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
@@ -11701,14 +11696,16 @@ stylehacks@^4.0.0:
1170111696
postcss "^7.0.0"
1170211697
postcss-selector-parser "^3.0.0"
1170311698

11704-
stylus-loader@3.0.2:
11705-
version "3.0.2"
11706-
resolved "https://registry.yarnpkg.com/stylus-loader/-/stylus-loader-3.0.2.tgz#27a706420b05a38e038e7cacb153578d450513c6"
11707-
integrity sha512-+VomPdZ6a0razP+zinir61yZgpw2NfljeSsdUF5kJuEzlo3khXhY19Fn6l8QQz1GRJGtMCo8nG5C04ePyV7SUA==
11699+
stylus-loader@4.1.0:
11700+
version "4.1.0"
11701+
resolved "https://registry.yarnpkg.com/stylus-loader/-/stylus-loader-4.1.0.tgz#7b3ced4d153ba8bc73479e775e430ce5c628c687"
11702+
integrity sha512-phWZyKuuIgzCU0Zbp5se6cOW9MMUogQ4NoBnNe78kytT2gg+25incSv3HHNFkgLvjyLyBxH1q44xx2AN1CeQpw==
1170811703
dependencies:
11709-
loader-utils "^1.0.2"
11710-
lodash.clonedeep "^4.5.0"
11711-
when "~3.6.x"
11704+
fast-glob "^3.2.4"
11705+
klona "^2.0.4"
11706+
loader-utils "^2.0.0"
11707+
normalize-path "^3.0.0"
11708+
schema-utils "^2.7.1"
1171211709

1171311710
stylus@0.54.7:
1171411711
version "0.54.7"
@@ -12947,11 +12944,6 @@ whatwg-url@^7.0.0:
1294712944
tr46 "^1.0.1"
1294812945
webidl-conversions "^4.0.2"
1294912946

12950-
when@~3.6.x:
12951-
version "3.6.4"
12952-
resolved "https://registry.yarnpkg.com/when/-/when-3.6.4.tgz#473b517ec159e2b85005497a13983f095412e34e"
12953-
integrity sha1-RztRfsFZ4rhQBUl6E5g/CVQS404=
12954-
1295512947
which-module@^2.0.0:
1295612948
version "2.0.0"
1295712949
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"

0 commit comments

Comments
 (0)