chore: shorten option name

This commit is contained in:
Evan You
2019-10-04 09:03:00 -04:00
parent caccf92721
commit b61d9652dd
3 changed files with 8 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ function compileToFunction(
options?: CompilerOptions
): RenderFunction {
const { code } = compile(template, {
hoistStaticTrees: true,
hoistStatic: true,
...options
})
return new Function(code)() as RenderFunction