Skip to content

Commit 7e42890

Browse files
authored
chore!: bump stylus-loader from v3 to v4 (#6130)
1 parent b96c3bd commit 7e42890

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packages/@vue/cli-service/generator/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ module.exports = (api, options) => {
5050
'less-loader': '^5.0.0'
5151
},
5252
stylus: {
53-
'stylus': '^0.54.7',
54-
'stylus-loader': '^3.0.2'
53+
'stylus': '^0.54.8',
54+
'stylus-loader': '^4.3.1'
5555
}
5656
}
5757

packages/@vue/cli-service/lib/config/css.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,7 @@ module.exports = (api, rootOptions) => {
234234
))
235235
}
236236
createCSSRule('less', /\.less$/, 'less-loader', loaderOptions.less)
237-
createCSSRule('stylus', /\.styl(us)?$/, 'stylus-loader', Object.assign({
238-
preferPathResolver: 'webpack'
239-
}, loaderOptions.stylus))
237+
createCSSRule('stylus', /\.styl(us)?$/, 'stylus-loader', loaderOptions.stylus)
240238

241239
// inject CSS extraction plugin
242240
if (shouldExtract) {

0 commit comments

Comments
 (0)