File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ module.exports = function extractor(options, fetch) {
32
32
var scopedName ;
33
33
if ( generateScopedName ) {
34
34
scopedName = typeof generateScopedName !== 'function'
35
- ? genericNames ( generateScopedName || '[name]__[local]___[hash:base64:5]' , { context} )
35
+ ? genericNames ( generateScopedName || '[name]__[local]___[hash:base64:5]' , { context : context } )
36
36
: function ( local , filename , css ) {
37
37
// had to wrap that function cause i didn't expected,
38
38
// that generateShortName() and generateLongName() functions
@@ -55,16 +55,16 @@ module.exports = function extractor(options, fetch) {
55
55
. concat ( [
56
56
Values ,
57
57
mode
58
- ? new LocalByDefault ( { mode} )
58
+ ? new LocalByDefault ( { mode : mode } )
59
59
: LocalByDefault ,
60
60
createImportedName
61
- ? new ExtractImports ( { createImportedName} )
61
+ ? new ExtractImports ( { createImportedName : createImportedName } )
62
62
: ExtractImports ,
63
63
new Scope ( { generateScopedName : scopedName } ) ,
64
64
] , append || [ ] ) ;
65
65
}
66
66
67
- plugins = plugins . concat ( new Parser ( { fetch} ) ) ;
67
+ plugins = plugins . concat ( new Parser ( { fetch : fetch } ) ) ;
68
68
69
69
return postcss ( plugins ) ;
70
70
}
You can’t perform that action at this time.
0 commit comments