Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit e40d006

Browse files
committed
Merge branch 'scss' into source
2 parents 4b74828 + 52d953e commit e40d006

File tree

5 files changed

+275
-260
lines changed

5 files changed

+275
-260
lines changed

config/webpack.config.dev.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ module.exports = {
115115
// https://github.com/facebookincubator/create-react-app/issues/1713
116116
/\.(js|jsx)(\?.*)?$/,
117117
/\.css$/,
118+
/\.scss$/,
118119
/\.json$/,
119120
/\.svg$/
120121
],
@@ -147,6 +148,10 @@ module.exports = {
147148
// "style" loader turns CSS into JS modules that inject <style> tags.
148149
// In production, we use a plugin to extract that CSS to a file, but
149150
// in development "style" loader enables hot editing of CSS.
151+
{
152+
test: /\.scss$/,
153+
loader: 'style!css!sass?importLoaders=1!postcss'
154+
},
150155
{
151156
test: /\.css$/,
152157
loader: 'style!css?importLoaders=1!postcss'

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@
77
"azure-iot-common": "^1.1.6",
88
"azure-iot-device": "1.1.7",
99
"bootstrap": "^3.3.7",
10+
"node-sass": "^4.5.3",
1011
"paho-mqtt": "^1.0.3",
1112
"react": "^15.5.4",
1213
"react-ace": "^4.2.1",
1314
"react-bootstrap": "^0.30.9",
1415
"react-console-component": "^0.6.1",
1516
"react-dom": "^15.5.4",
1617
"react-ga": "^2.2.0",
18+
"sass-loader": "^6.0.6",
1719
"uuid": "^3.0.1"
1820
},
1921
"devDependencies": {

src/component/helpOverlay/helpOverlay.css

Lines changed: 0 additions & 259 deletions
This file was deleted.

src/component/helpOverlay/helpOverlay.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { Component } from 'react';
22
import { traceEvent } from '../../lib/telemetry.js';
3-
import './helpOverlay.css';
3+
import './helpOverlay.scss';
44
import closeButton from '../../img/closeButton.png';
55
// import connectionStringInPortal from '../../img/connectionStringInPortal.png';
66
import img1 from '../../img/step1.png';

0 commit comments

Comments
 (0)