UNPKG
@hx-midway/static-file
Version:
latest (1.0.0)
1.0.0
Midwayjs static-file alias 自动扫描,支持路径索引,允许 /path/index.html -> /path/
@hx-midway/static-file
/
dist
/
configuration.d.ts
11 lines
(10 loc)
•
208 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
declare
class
StaticFileConfiguration
{
config
:
any
;
viewExt
:
any
;
onConfigLoad
():
Promise
<{
staticFile
: {
alias
: {}; }; }>;
onReady
():
Promise
<
void
>; }