B
B
beefront172018-04-05 19:26:41
JavaScript
beefront17, 2018-04-05 19:26:41

Problem with webpack 4 css modules?

Good afternoon! Please help me solve the problem.
After updating webpack to version 4.5, I have a problem with css modules, they do not load.
gives an error message

Warning: Unknown prop `styleName` on <div> tag. Remove this prop from the element.

Who knows please help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2018-04-06
@miraage

You have the wrong version of extract-text-webpack-plugin.
Either install beta 4 or https://github.com/webpack-contrib/mini-css-extrac...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question