Answer the question
In order to leave comments, you need to log in
Is there a gulp-inline-css equivalent for webpack?
Greetings.
You need to add styles to the page. But unlike the style-loader, the insert must be done in the tag's attributes.
h1 { color: red; font-weight: bold }
<h1>Lorem ipsum dolor sit amen</h1>
<h1 style="color: red; font-weight: bold">Lorem ipsum dolor sit amen</h1>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question