Skip to content

Commit 23f4ad9

Browse files
committed
updatedNodeSassDependencies
1 parent ee7089c commit 23f4ad9

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
presets: ['react', 'env', 'stage-2']
2+
"presets": ["react", "env", "stage-2"]
33
/*
44
Babel uses these "presets" to know how to transpile your Javascript code. Here's what we're saying with these:
55

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@
2525
"body-parser": "^1.16.1",
2626
"compression": "^1.7.1",
2727
"connect-session-sequelize": "^4.1.0",
28+
"css-loader": "^0.28.8",
2829
"express": "^4.14.1",
2930
"express-session": "^1.15.1",
3031
"history": "^4.6.3",
3132
"morgan": "^1.8.1",
33+
"node-sass": "^4.7.2",
3234
"passport": "^0.3.2",
3335
"passport-google-oauth": "^1.0.0",
3436
"pg": "^6.4.2",
@@ -41,8 +43,10 @@
4143
"redux": "^3.6.0",
4244
"redux-logger": "^2.8.1",
4345
"redux-thunk": "^2.2.0",
46+
"sass-loader": "^6.0.6",
4447
"sequelize": "^4.28.6",
45-
"socket.io": "^2.0.3"
48+
"socket.io": "^2.0.3",
49+
"style-loader": "^0.19.1"
4650
},
4751
"devDependencies": {
4852
"axios-mock-adapter": "^1.9.0",

webpack.config.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@ module.exports = {
1515
exclude: /(node_modules|bower_components)/,
1616
loader: 'babel-loader',
1717
options: {
18-
presets: ['react', 'es2015', 'stage-0']
18+
presets: ['react', 'es2015', 'stage-2']
1919
}
2020
},
2121
// use the style-loader/css-loader combos for anything matching the .css extension
2222
{
23-
test: /\.css$/,
23+
test: /\.scss$/,
2424
use: [
2525
'style-loader',
2626
'css-loader',
27+
'sass-loader'
2728
]
2829
},
2930
{

0 commit comments

Comments
 (0)