File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,34 +21,35 @@ module.exports = {
2121 ] ,
2222 module : {
2323 rules : [
24- {
25- test : / \. ( s c s s ) $ / ,
26- use : [
2724 {
28- // Adds CSS to the DOM by injecting a `<style>` tag
29- loader : "style-loader"
30- } ,
31- {
32- // Interprets `@import` and `url()` like `import/require()` and will resolve them
33- loader : "css-loader"
34- } ,
35- {
36- // Loader for webpack to process CSS with PostCSS
37- loader : "postcss-loader" ,
38- options : {
39- postcssOptions : {
40- plugins : [
41- autoprefixer
42- ]
25+ test : / \. ( s c s s ) $ / ,
26+ use : [
27+ {
28+ // Adds CSS to the DOM by injecting a `<style>` tag
29+ loader : "style-loader"
30+ } ,
31+ {
32+ // Interprets `@import` and `url()` like `import/require()`
33+ // // and will resolve them
34+ loader : "css-loader"
35+ } ,
36+ {
37+ // Loader for webpack to process CSS with PostCSS
38+ loader : "postcss-loader" ,
39+ options : {
40+ postcssOptions : {
41+ plugins : [
42+ autoprefixer
43+ ]
44+ }
45+ }
46+ } ,
47+ {
48+ // Loads a SASS/SCSS file and compiles it to CSS
49+ loader : "sass-loader"
4350 }
44- }
45- } ,
46- {
47- // Loads a SASS/SCSS file and compiles it to CSS
48- loader : "sass-loader"
51+ ]
4952 }
50- ]
51- }
5253 ]
5354 }
5455}
You can’t perform that action at this time.
0 commit comments