A
A
Alexander2018-11-01 14:34:29
gulp.js
Alexander, 2018-11-01 14:34:29

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.

More

До обработки плагином:
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

1 answer(s)
A
Alexey Yarkov, 2018-11-01
@codemafia

It?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question