From c8e9e4d3d77a47efdc1147f006fa61b5c3e4d3f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Garn=C3=A6s?= Date: Mon, 13 Nov 2023 06:46:51 +0100 Subject: [PATCH] Add webpack loaders for CSS files For whatever reason this comes up as a problem when using dapple. It does not seem to make a difference in other situations so we might as well add it. --- webpack.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index af6ca62d57..ba07d6e8ea 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -80,7 +80,11 @@ module.exports = (_env, argv) => { exclude: /node_modules/, use: ["babel-loader"] }, - // We consume svg files from dpl-design-system package + // We consume css and svg files from dpl-design-system package + { + test: /\.css$/, + use: ["style-loader", "css-loader"] + }, { test: /\.svg$/, use: [