-
-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
Hi, I am confused by namespace plugin usage. I am seeing the following:
Input Value
.css--root-container {
color: blue;
}
:global(p){
color: red;
}
Usage:
const processed = serialize(compile(`.dvz-content{${inputValue}}`), middleware([namespace, stringify]));output value
.css--root-container.dvz-content.dvz-content {
color:blue;
}
p {
color:red;
}
Why is my namespace INSIDE the selector and also duplicated?
This looks like it is also in a test like this?
expect(serialize(compile(`.user:before{color:red;}`), middleware([namespace, stringify]))).to.equal([
`:before.user.user{color:red;}`
].join(''))
```Metadata
Metadata
Assignees
Labels
No labels