File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ const genericNames = require ( 'generic-names' ) ;
1
2
const path = require ( 'path' ) ;
2
3
3
4
const CSS_MODULE_LOCAL_IDENT_NAME = '[local]___[hash:base64:5]' ;
@@ -56,7 +57,7 @@ module.exports = (api) => {
56
57
[
57
58
'react-css-modules' ,
58
59
{
59
- generateScopedName : CSS_MODULE_LOCAL_IDENT_NAME ,
60
+ generateScopedName : genericNames ( CSS_MODULE_LOCAL_IDENT_NAME ) ,
60
61
filetypes : {
61
62
'.scss' : {
62
63
plugins : [ 'postcss-nested' ] ,
Original file line number Diff line number Diff line change 34
34
"env-cmd" : " ^10.1.0" ,
35
35
"express" : " ^4.17.1" ,
36
36
"express-session" : " ^1.17.1" ,
37
+ "generic-names" : " ^3.0.0" ,
37
38
"history" : " ^5.0.0" ,
38
39
"http-proxy" : " ^1.18.1" ,
39
40
"humps" : " ^2.0.1" ,
Original file line number Diff line number Diff line change @@ -4258,6 +4258,13 @@ generic-names@^2.0.1:
4258
4258
dependencies :
4259
4259
loader-utils "^1.1.0"
4260
4260
4261
+ generic-names@^3.0.0 :
4262
+ version "3.0.0"
4263
+ resolved "https://registry.yarnpkg.com/generic-names/-/generic-names-3.0.0.tgz#c69a01700098e1215d5a0b820ac21ddd70a78dbb"
4264
+ integrity sha512-4zZck5fpODoHpbiPaQqwhSWKk+dxHeCL7U1UpQsYwl9w5iNU4+K6uBHifOe7e0FCOuKMUiGUXxwJdsqHZBCVew==
4265
+ dependencies :
4266
+ loader-utils "^2.0.0"
4267
+
4261
4268
gensync@^1.0.0-beta.2 :
4262
4269
version "1.0.0-beta.2"
4263
4270
resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0"
You can’t perform that action at this time.
0 commit comments