gajus / babel-plugin-react-css-modules

Transforms styleName to className using compile time CSS module resolution.
Other
2.05k stars 162 forks source link

fix: potential problem with default options #235

Closed AlbertLucianto closed 5 years ago

AlbertLucianto commented 5 years ago

There can be a potential bug with the options. For example if autoResolveMultipleImports is false and assuming the default is true,

stats.opts.autoResolveMultipleImports || optionsDefaults.autoResolveMultipleImports

the result should not be true.

gajus commented 5 years ago

:tada: This PR is included in version 5.2.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: