-
-
Notifications
You must be signed in to change notification settings - Fork 608
. is not replaced in filenames #980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It is expected and breaking change for |
@rianbotha anyway can you create minimum reproducible test repo? |
/cc @jquense what do you think, maybe it is not conventional for developers |
The |
@jquense just for information, can you provide |
It's pretty simple I don't escape other path characters tho since we don't use the path interpolation https://github.com/jquense/webpack-atoms/blob/master/src/index.ts#L150 |
Ok, let's fix it, as regression from 2.0.0 |
@evilebottnawi Do you still need a repo?
Might be better to add it to |
@rianbotha no need new option, it is bug and need fix, PR welcome |
@evilebottnawi Thanks for the quick action. |
FYI this was the same issue i raised here. Can also confirm that 3.2.0 fixes the issue. Thanks for getting to this 🙌 |
@michaeltaranto behaviour for this #966 expected when you use user function you should escape non standard characters manually, mayme we change this in next major release |
Expected Behavior
In 2.1.0 using this pattern for localIdentName:
[name]_[local]_[hash:base64:5]
the name portion would be transformed fromfile.module
tofile-module
. File name is file.module.scss.Actual Behavior
The
.
infile.module
is no longer changed to a-
.We use babel-plugin-react-css-modules alongside css-loader. The babel plugin still transforms filenames in the same way the CSS Loader 2.* did.
Code
How Do We Reproduce?
Use a SCSS filename with one or more
.
in the filename.The text was updated successfully, but these errors were encountered: