asajs v4.1.13
This commit is contained in:
parent
2e9de68b55
commit
3dba9225e7
5 changed files with 26 additions and 15 deletions
|
|
@ -66,9 +66,9 @@ export const unLinked = options["unlink"] ?? !(config.compiler?.autoImport ?? tr
|
|||
export const buildFolder = config.compiler?.buildFolder || "build"
|
||||
export const uiBuildFolder = config.compiler?.uiBuildFolder || "asajs"
|
||||
export const isNotObfuscate = debugMode || !(config.compiler?.obfuscateStringName ?? false)
|
||||
export const allowRandomStringName = !debugMode || (config.compiler?.allowRandomStringName ?? true)
|
||||
export const namespaceCount = debugMode ? 5 : (config.compiler?.namespaceCount ?? 15)
|
||||
export const forceRandomStringLength = debugMode ? 10 : config.compiler?.forceRandomStringLength
|
||||
export const allowRandomStringName = !(debugMode || !(config.compiler?.allowRandomStringName ?? true))
|
||||
export const namespaceCount = config.compiler?.namespaceCount ?? 15
|
||||
export const forceRandomStringLength = config.compiler?.forceRandomStringLength
|
||||
|
||||
export const bindingFuntions = config.binding_functions
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ export function FormatProperties(properties: any) {
|
|||
|
||||
if (key.startsWith("$")) {
|
||||
const [varName, varType] = key.split("|")
|
||||
|
||||
if (!varType) break
|
||||
switch (varType) {
|
||||
case "d":
|
||||
properties[`${varName}|default`] = value
|
||||
|
|
|
|||
Reference in a new issue