@@ -343,8 +343,8 @@ define(function (require, exports, module) {
343343 const remoteScriptText = Array . from ( remoteFunctionsScripts . values ( ) ) . join ( "\n" ) ;
344344 const remoteConstantScriptText = Array . from ( remoteFunctionsConstantsScripts . values ( ) ) . join ( "\n" ) ;
345345 effectiveRemoteFunctionsScripts = RemoteFunctions
346- . replace ( "// REPLACE_WITH_ADDED_REMOTE_CONSTANT_SCRIPTS" , remoteConstantScriptText )
347- . replace ( "// REPLACE_WITH_ADDED_REMOTE_SCRIPTS" , remoteScriptText ) ;
346+ . replace ( "// DONT_STRIP_MINIFY: REPLACE_WITH_ADDED_REMOTE_CONSTANT_SCRIPTS" , remoteConstantScriptText )
347+ . replace ( "// DONT_STRIP_MINIFY: REPLACE_WITH_ADDED_REMOTE_SCRIPTS" , remoteScriptText ) ;
348348 }
349349
350350 function addRemoteFunctionScript ( scriptName , scriptText ) {
@@ -353,7 +353,7 @@ define(function (require, exports, module) {
353353 return false ;
354354 }
355355 remoteFunctionsScripts . set ( scriptName , scriptText ) ;
356- if ( ! RemoteFunctions . includes ( "// REPLACE_WITH_ADDED_REMOTE_SCRIPTS" ) ) {
356+ if ( ! RemoteFunctions . includes ( "// DONT_STRIP_MINIFY: REPLACE_WITH_ADDED_REMOTE_SCRIPTS" ) ) {
357357 throw new Error ( "RemoteFunctions script is missing the placeholder // REPLACE_WITH_ADDED_REMOTE_SCRIPTS" ) ;
358358 }
359359 _computeRemoteScript ( ) ;
@@ -366,7 +366,7 @@ define(function (require, exports, module) {
366366 return false ;
367367 }
368368 remoteFunctionsConstantsScripts . set ( scriptName , scriptText ) ;
369- if ( ! RemoteFunctions . includes ( "// REPLACE_WITH_ADDED_REMOTE_CONSTANT_SCRIPTS" ) ) {
369+ if ( ! RemoteFunctions . includes ( "// DONT_STRIP_MINIFY: REPLACE_WITH_ADDED_REMOTE_CONSTANT_SCRIPTS" ) ) {
370370 throw new Error ( "RemoteFunctions script missing placeholder // REPLACE_WITH_ADDED_REMOTE_CONSTANT_SCRIPTS" ) ;
371371 }
372372 _computeRemoteScript ( ) ;
0 commit comments