@@ -145,7 +145,8 @@ function makeJSDist() {
145145 "!src/thirdparty/no-minify/**/*" , "!src/thirdparty/xterm/**/*" ,
146146 "!src/LiveDevelopment/BrowserScripts/RemoteFunctions.js" ,
147147 "!src/extensionsIntegrated/phoenix-pro/onboarding/**/*" ,
148- "!src/extensionsIntegrated/phoenix-pro/unit-tests/**/*" ] )
148+ "!src/extensionsIntegrated/phoenix-pro/unit-tests/**/*" ,
149+ "!src/mdViewer/**/*" ] )
149150 . pipe ( minify ( {
150151 ext :{
151152 min :'.js'
@@ -180,7 +181,8 @@ function makeNonMinifyDist() {
180181 "src/thirdparty/xterm/**/*" ,
181182 "src/LiveDevelopment/BrowserScripts/RemoteFunctions.js" ,
182183 "src/extensionsIntegrated/phoenix-pro/onboarding/**/*" ,
183- "src/extensionsIntegrated/phoenix-pro/unit-tests/**/*" ] , { base : 'src' } )
184+ "src/extensionsIntegrated/phoenix-pro/unit-tests/**/*" ,
185+ "src/mdViewer/**/*" ] , { base : 'src' } )
184186 . pipe ( dest ( 'dist' ) ) ;
185187}
186188
@@ -707,7 +709,7 @@ function _makeBracketsConcatJSInternal(isDevBuild = true) {
707709 `${ srcDir } preferences/PreferencesImpl.js` // tests does require magic on prefs, so exclude
708710 ] ;
709711 const pathsToMerge = [ ] ;
710- const PathsToIgnore = [ "assets" , "thirdparty" , "extensions" ] ;
712+ const PathsToIgnore = [ "assets" , "thirdparty" , "extensions" , "mdViewer" ] ;
711713 for ( let dir of fs . readdirSync ( srcDir , { withFileTypes : true } ) ) {
712714 if ( dir . isDirectory ( ) && ! PathsToIgnore . includes ( dir . name ) ) {
713715 pathsToMerge . push ( dir . name ) ;
0 commit comments