File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ export default class SharedExportService extends SharedUtil
7373 this . options . sourcemaps = exportOptions . sourcemaps ;
7474 this . options . handleAssets = exportOptions . assets || "auto" ;
7575 this . options . minifyGlsl = exportOptions . minifyGlsl ;
76+ this . options . incrementExportCount = exportOptions . hasOwnProperty ( "incrementExportCount" ) ? exportOptions . incrementExportCount : true ;
7677
7778 this . options . ignoreBackupBeforeExport = exportOptions . ignoreBackupBeforeExport || false ;
7879
@@ -652,7 +653,7 @@ export default class SharedExportService extends SharedUtil
652653 }
653654
654655 if ( ! originalProject . exports ) originalProject . exports = 0 ;
655- originalProject . exports ++ ;
656+ if ( options . incrementExportCount ) originalProject . exports ++ ;
656657 const exportNumber = originalProject . exports ;
657658 proj . exports = exportNumber ;
658659
You can’t perform that action at this time.
0 commit comments