iview / iview/iview-cli

使用SASS的时候, 应该匹配scss, 而非sass

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
721
Forks
139
PR merge metrics
No merged PRs in 30d

Description

---
> 如果使用sass旧语法(sass语法),文件后缀名应为`.sass`
> 如果使用sass新语法(scss语法),文件后缀名应为`.scss`语法。

---

参考

https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss

http://www.sasschina.com/guide/

---

```js
sass: ExtractTextPlugin.extract({
use: ['css-loader?minimize', 'autoprefixer-loader', 'sass-loader'],
fallback: 'vue-style-loader'
}),
{
test: /\.sass/,
use: ExtractTextPlugin.extract({
use: ['autoprefixer-loader', 'sass-loader'],
fallback: 'style-loader'
})
},
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the JavaScript configuration containing the shown ExtractTextPlugin and sass-loader entries, then verify how the current test pattern treats .sass and .scss files. Done when the matcher distinguishes the two Sass syntaxes as requested and the existing build behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, sass, scss
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.