From 7e378fd86ab94ea556d35a50854afda95fc61f20 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sun, 27 Aug 2017 17:44:00 +0200 Subject: [PATCH] Fix SASS loading. --- package.json | 1 + webpack.config.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/package.json b/package.json index 12349b8..5f5fe41 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "loglevel": "^1.5.1", "ngtemplate-loader": "^2.0.1", "node-sass": "^4.5.3", + "resolve-url-loader": "^2.1.0", "sass-loader": "^6.0.6", "style-loader": "^0.19.0", "ts-loader": "^3.1.0", diff --git a/webpack.config.js b/webpack.config.js index 3942c0d..d085f6b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -92,6 +92,8 @@ module.exports = { 'style-loader', 'css-loader', 'sass-loader', + 'resolve-url-loader', + 'sass-loader?sourceMap' ] }, { test: /\.(png|woff|woff2|eot|ttf|svg)$/,