[JS IR] add a flag which prepends a custom prefix to the per-module .js files
This commit is contained in:
committed by
TeamCityServer
parent
7bd9462ffb
commit
6e40c814c8
@@ -274,6 +274,7 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
|
||||
relativeRequirePath = true,
|
||||
propertyLazyInitialization = arguments.irPropertyLazyInitialization,
|
||||
legacyPropertyAccess = arguments.irLegacyPropertyAccess,
|
||||
irPerModulePrefix = arguments.irPerModulePrefix
|
||||
)
|
||||
|
||||
val jsCode = if (arguments.irDce && !arguments.irDceDriven) compiledModule.dceJsCode!! else compiledModule.jsCode!!
|
||||
|
||||
Reference in New Issue
Block a user