mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-20 15:00:42 -07:00
perf: improve getTemplate() when cache is enabled
Checking for file existence is unnecessary when cache contains entry.
This commit is contained in:
committed by
Jun Yang
parent
bbebb5515c
commit
1ffba2bc76
@@ -1,11 +1,13 @@
|
||||
import output from './output'
|
||||
import tag from './tag'
|
||||
import demo from './demo'
|
||||
import layout from './layout'
|
||||
|
||||
async function main () {
|
||||
await output()
|
||||
await tag()
|
||||
await demo()
|
||||
await layout()
|
||||
}
|
||||
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user