Closed
Description
I have a project using less 2.7.1
and css-loader 0.23.1
.
webpack version is 2.3.2
.
In my project I have a component with the name MyComponent
incorporates a 3rd party component imported from node_modules
, called WysiwygComponent
.
WysiwygComponent
has the style rules in WysiwygComponent.less
:
:local(.wrap) {
font-size: 18px;
}
this generates a CSS rule like WysiwygComponent--wrap--MhELi
.
In MyComponent
i have MyComponent.less
file I want to override the WysiwygComponent--wrap
by using something like: .MyComponent-wrap .WysiwygComponent-wrap { ... }
.
Unfortunately I found no way to extend/override the CSS with :local(.wrap)
syntax inside MyComponent.less