File tree 3 files changed +9
-4
lines changed
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- presets : [' react' , ' env' , ' stage-2 ' ]
2
+ " presets" : [" react" , " env" , " stage-2" ]
3
3
/*
4
4
Babel uses these "presets" to know how to transpile your Javascript code. Here's what we're saying with these:
5
5
Original file line number Diff line number Diff line change 25
25
"body-parser" : " ^1.16.1" ,
26
26
"compression" : " ^1.7.1" ,
27
27
"connect-session-sequelize" : " ^4.1.0" ,
28
+ "css-loader" : " ^0.28.8" ,
28
29
"express" : " ^4.14.1" ,
29
30
"express-session" : " ^1.15.1" ,
30
31
"history" : " ^4.6.3" ,
31
32
"morgan" : " ^1.8.1" ,
33
+ "node-sass" : " ^4.7.2" ,
32
34
"passport" : " ^0.3.2" ,
33
35
"passport-google-oauth" : " ^1.0.0" ,
34
36
"pg" : " ^6.4.2" ,
41
43
"redux" : " ^3.6.0" ,
42
44
"redux-logger" : " ^2.8.1" ,
43
45
"redux-thunk" : " ^2.2.0" ,
46
+ "sass-loader" : " ^6.0.6" ,
44
47
"sequelize" : " ^4.28.6" ,
45
- "socket.io" : " ^2.0.3"
48
+ "socket.io" : " ^2.0.3" ,
49
+ "style-loader" : " ^0.19.1"
46
50
},
47
51
"devDependencies" : {
48
52
"axios-mock-adapter" : " ^1.9.0" ,
Original file line number Diff line number Diff line change @@ -15,15 +15,16 @@ module.exports = {
15
15
exclude : / ( n o d e _ m o d u l e s | b o w e r _ c o m p o n e n t s ) / ,
16
16
loader : 'babel-loader' ,
17
17
options : {
18
- presets : [ 'react' , 'es2015' , 'stage-0 ' ]
18
+ presets : [ 'react' , 'es2015' , 'stage-2 ' ]
19
19
}
20
20
} ,
21
21
// use the style-loader/css-loader combos for anything matching the .css extension
22
22
{
23
- test : / \. c s s $ / ,
23
+ test : / \. s c s s $ / ,
24
24
use : [
25
25
'style-loader' ,
26
26
'css-loader' ,
27
+ 'sass-loader'
27
28
]
28
29
} ,
29
30
{
You can’t perform that action at this time.
0 commit comments