forceTransformedStrings option

This commit is contained in:
sanex
2020-09-24 00:39:07 +03:00
parent 8fdb22b31d
commit a5d7f7418c
40 changed files with 658 additions and 145 deletions
+2 -1
View File
@@ -18,9 +18,10 @@ import { StringArrayWrappersType } from '../../src/enums/node-transformers/strin
{
...NO_ADDITIONAL_NODES_PRESET,
compact: false,
forceTransformedStrings: ['foo'],
identifierNamesGenerator: IdentifierNamesGenerator.MangledIdentifierNamesGenerator,
stringArray: true,
stringArrayThreshold: 1,
stringArrayThreshold: 0,
stringArrayWrappersChainedCalls: true,
stringArrayWrappersCount: 1,
stringArrayWrappersType: StringArrayWrappersType.Function