mirror of
https://github.com/mdgriffith/elm-optimize-level-2.git
synced 2024-11-29 12:46:32 +03:00
Reset default transforms.
This commit is contained in:
parent
7bfcdca3c7
commit
b3a6fd1d62
24
src/types.ts
24
src/types.ts
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user