File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 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) {
3232 var scopedName ;
3333 if ( generateScopedName ) {
3434 scopedName = typeof generateScopedName !== 'function'
35- ? genericNames ( generateScopedName || '[name]__[local]___[hash:base64:5]' , { context} )
35+ ? genericNames ( generateScopedName || '[name]__[local]___[hash:base64:5]' , { context : context } )
3636 : function ( local , filename , css ) {
3737 // had to wrap that function cause i didn't expected,
3838 // that generateShortName() and generateLongName() functions
@@ -55,16 +55,16 @@ module.exports = function extractor(options, fetch) {
5555 . concat ( [
5656 Values ,
5757 mode
58- ? new LocalByDefault ( { mode} )
58+ ? new LocalByDefault ( { mode : mode } )
5959 : LocalByDefault ,
6060 createImportedName
61- ? new ExtractImports ( { createImportedName} )
61+ ? new ExtractImports ( { createImportedName : createImportedName } )
6262 : ExtractImports ,
6363 new Scope ( { generateScopedName : scopedName } ) ,
6464 ] , append || [ ] ) ;
6565 }
6666
67- plugins = plugins . concat ( new Parser ( { fetch} ) ) ;
67+ plugins = plugins . concat ( new Parser ( { fetch : fetch } ) ) ;
6868
6969 return postcss ( plugins ) ;
7070}
You can’t perform that action at this time.
0 commit comments