From df247f469be7fc654cbe30bff58cf75950adc636 Mon Sep 17 00:00:00 2001 From: Kevin Seestrand Date: Wed, 9 Mar 2022 19:33:24 +0200 Subject: [PATCH] Project conf Install node-sass that is compatible with node version 14.X.X Add a css loader for testing. --- config/webpack.tests.js | 4 ++++ package.json | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/config/webpack.tests.js b/config/webpack.tests.js index 4f527efb..f74993e8 100644 --- a/config/webpack.tests.js +++ b/config/webpack.tests.js @@ -35,6 +35,10 @@ module.exports = merge(common, { presets: ['es2015', 'node6', 'react', 'stage-2'], }, }, + { + test: /\.css$/, + loader: 'style-loader!css-loader', + }, ], }, plugins: [ diff --git a/package.json b/package.json index d92a8642..55d81d56 100644 --- a/package.json +++ b/package.json @@ -44,17 +44,17 @@ "moment-range": "2.2.0", "moment-timezone": "0.5.13", "morgan": "1.9.0", - "node-sass": "4.5.2", + "node-sass": "4.14.1", "normalizr": "2.2.1", "passport": "0.3.2", - "passport-helsinki": "git://github.com/City-of-Helsinki/passport-helsinki.git", + "passport-helsinki": "git+https://github.com/City-of-Helsinki/passport-helsinki.git", "postcss-loader": "1.1.1", "query-string": "4.2.3", "react": "15.3.2", "react-addons-css-transition-group": "15.3.2", "react-bootstrap": "0.30.6", "react-bootstrap-typeahead": "3.4.7", - "react-date-picker": "git://github.com/YoYuUm/react-date-picker.git#build-readonly", + "react-date-picker": "git+https://github.com/YoYuUm/react-date-picker.git#build-readonly", "react-document-title": "2.0.2", "react-dom": "15.3.2", "react-fontawesome": "1.5.0",