gajus / gajus/babel-plugin-react-css-modules

Classnames have trailing whitespace when spread is used

Open
#262 3 comments 4 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
2k
Forks
159
PR merge metrics
No merged PRs in 30d

Description

Example:
JSX:
```


```
Output:
```

```

No trailing whitespace is added when spread is not used.

Seems like a small issue, but it breaks snapshots or `className` checks in tests when upgrading.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.