From d9a99827c0f6e2ebd624694c5343eab1479bd3c3 Mon Sep 17 00:00:00 2001 From: Aryan Shridhar <53977614+aryanshridhar@users.noreply.github.com> Date: Fri, 10 Dec 2021 13:30:57 +0530 Subject: [PATCH] fix(BUG): Allow webpack to link CSS with bundled HTML file. (#468) While porting the webpack config file from typescript to javascript, commit 3e0f5a866d963a65738f0fe2d6c747fdfca05a65 accidentally removed style-loader from config setting. Due to this, the CSS file wasn't being attached with the bundled html file. Fixed this by adding the style-loader back to config settings in webpack. --- frontend/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index 42be93b725..d1f9958409 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -44,7 +44,7 @@ const config = { }, { test: /\.css$/, - use: ['css-loader'], + use: ['style-loader', 'css-loader'], }, { test: /\.(jpe?g|png|gif|svg)$/i,