summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/linkCalculationApp/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/apps/linkCalculationApp/webpack.config.js')
-rw-r--r--sdnr/wt/odlux/apps/linkCalculationApp/webpack.config.js16
1 files changed, 15 insertions, 1 deletions
diff --git a/sdnr/wt/odlux/apps/linkCalculationApp/webpack.config.js b/sdnr/wt/odlux/apps/linkCalculationApp/webpack.config.js
index 4f2bd2ec9..3c9093c4b 100644
--- a/sdnr/wt/odlux/apps/linkCalculationApp/webpack.config.js
+++ b/sdnr/wt/odlux/apps/linkCalculationApp/webpack.config.js
@@ -49,7 +49,7 @@ module.exports = (env) => {
use: [{
loader: "babel-loader"
}, {
- loader: "ts-loader"
+ loader: "ts-loader"
}]
}, {
test: /\.jsx?$/,
@@ -57,6 +57,20 @@ module.exports = (env) => {
use: [{
loader: "babel-loader"
}]
+ },{
+ test: /\.scss$/,
+ include: /node_modules/,
+ use: ['style-loader', 'css-loader', 'sass-loader'],
+ },{
+ test: /\.s[ac]ss$/i,
+ use: [
+ // Creates `style` nodes from JS strings
+ 'style-loader',
+ // Translates CSS into CommonJS
+ 'css-loader',
+ // Compiles Sass to CSS
+ 'sass-loader',
+ ],
}]
},