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.
This commit is contained in:
Aryan Shridhar 2021-12-10 13:30:57 +05:30 committed by GitHub
parent 1bf6faff8b
commit d9a99827c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ const config = {
},
{
test: /\.css$/,
use: ['css-loader'],
use: ['style-loader', 'css-loader'],
},
{
test: /\.(jpe?g|png|gif|svg)$/i,