Reset default transforms.

This commit is contained in:
Robin Heggelund Hansen 2021-08-12 15:31:28 +02:00
parent 7bfcdca3c7
commit b3a6fd1d62

View File

@ -73,12 +73,12 @@ export const unallowedChars = /[^A-Za-z0-9]/g;
export const toolDefaults: Transforms = {
replaceVDomNode: false,
variantShapes: false,
variantShapes: true,
inlineNumberToString: false,
inlineEquality: false,
inlineFunctions: false,
inlineEquality: true,
inlineFunctions: true,
listLiterals: false,
passUnwrappedFunctions: false,
passUnwrappedFunctions: true,
arrowFns: false,
shorthandObjectLiterals: false,
objectUpdate: false,
@ -93,19 +93,19 @@ export const toolDefaults: Transforms = {
export const benchmarkDefaults: Transforms = {
replaceVDomNode: false,
variantShapes: false,
variantShapes: true,
inlineNumberToString: false,
inlineEquality: false,
inlineFunctions: false,
inlineEquality: true,
inlineFunctions: true,
listLiterals: false,
passUnwrappedFunctions: false,
passUnwrappedFunctions: true,
arrowFns: false,
shorthandObjectLiterals: false,
objectUpdate: false,
unusedValues: false,
replaceListFunctions: false,
replaceStringFunctions: false,
recordUpdates: true,
v8Analysis: false,
replaceListFunctions: true,
replaceStringFunctions: true,
recordUpdates: false,
v8Analysis: true,
replacements: null
};