This website requires JavaScript.
Explore
Help
Register
Sign In
ashpie
/
swaf
Watch
1
Star
0
Fork
0
You've already forked swaf
Code
Issues
22
Pull Requests
Releases
11
Wiki
Activity
66a696f40e
swaf
/
assets
/
ts
/
stores.ts
4 lines
101 B
TypeScript
Raw
Normal View
History
Unescape
Escape
Add two step pre-compile/compile asset processing Reorganize views into new "assets" folder structure Turn locals into a store so locals don't have to be passed through files that don't need them Some fixes to previous commit (esm) 82ab0b963c85fdfea4205bd9d931c8bcbf9b5af6 Remove afs in favor of fs.promises (renamed afs.exists to Utils.doesFileExist Rename Utils.readdirRecursively to Utils.listFilesRecursively
2021-05-04 17:04:14 +02:00
import
{
writable
}
from
"svelte/store"
;
Add generic type to localStore
2021-05-13 14:08:35 +02:00
export
const
locals
=
writable
<
Record
<
string
,
unknown
>
>
(
{
}
)
;
Reference in New Issue
Copy Permalink