File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ const schema = {
3131 description : "Disable the use of locals export. Defaults to `false`" ,
3232 type : "boolean" ,
3333 } ,
34+ enableDefaultExport : {
35+ description : "Enable 'export default'. Defaults to `false`." ,
36+ type : "boolean" ,
37+ } ,
3438 verifyOnly : {
3539 description :
3640 "Validate generated `*.d.ts` files and fail if an update is needed (useful in CI). Defaults to `false`" ,
@@ -88,7 +92,8 @@ module.exports = function (content, ...args) {
8892 const cssModuleDefinition = generateGenericExportInterface (
8993 cssModuleKeys ,
9094 filenameToPascalCase ( filename ) ,
91- options . disableLocalsExport
95+ options . disableLocalsExport ,
96+ options . enableDefaultExport
9297 ) ;
9398
9499 applyFormattingAndOptions ( cssModuleDefinition , options )
You can’t perform that action at this time.
0 commit comments