Skip to content

Commit

Permalink
Add webpack loaders for CSS files
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kasperg committed Nov 13, 2023
1 parent 0d8c510 commit 3eb2b9f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit 3eb2b9f

Please sign in to comment.