Description
Do you want to request a feature or report a bug?
Feature Request
What is the current behavior?
CSS with both original and camelized classnames are retained in the final output.
If this is a feature request, what is motivation or use case for changing the behavior?
Would it be possible to introduce yet another flag which removes the uncamelized versions from the final output? I'm asking because of a comment on one of the issues: clinyong/vscode-css-modules#3 (comment)
Basically, by retaining both the camelized and original versions of a classname, the bundle size increases, sometimes by a lot for larger projects. If all developers are in with the syntax, perhaps it'd not be as problematic to remove the original classnames? Two extra options can be added to the camelCase options: camelCase: only and camelCase: dashesOnly which cause the plugin to not output the original classes. What do you think of the idea?
I'd be happy to make a PR if the team decides it's worthwhile to add to the loader.