Skip to content

Commit 109b5ba

Browse files
committed
fix: fix typos & style
1 parent 4cbb6a7 commit 109b5ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = (api, options) => {
4747
},
4848
'dart-sass': {
4949
fibers: '^3.1.1',
50-
'sass': '^1.16.0',
50+
sass: '^1.16.0',
5151
'sass-loader': '^7.1.0'
5252
},
5353
less: {

packages/@vue/cli/lib/util/inferRootOptions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = function inferRootOptions (pkg) {
1919
}
2020

2121
// cssPreprocessors
22-
if ('dart-sass' in deps) {
22+
if ('sass' in deps) {
2323
rootOptions.cssPreprocessor = 'dart-sass'
2424
} else if ('node-sass' in deps) {
2525
// TODO: change to 'node-sass' in v4

0 commit comments

Comments
 (0)