@typed/vite-plugin 0.0.10 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/vite-plugin.d.ts +25 -8
- package/dist/vite-plugin.d.ts.map +1 -1
- package/dist/vite-plugin.js +287 -87
- package/dist/vite-plugin.js.map +1 -1
- package/package.json +8 -7
- package/src/index.ts +0 -3
- package/src/vite-plugin.ts +422 -105
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.json +0 -3
- package/src/browser.ts +0 -4
- package/src/server.ts +0 -4
- package/src/virtual-modules.d.ts +0 -39
package/tsconfig.json
CHANGED
package/src/browser.ts
DELETED
package/src/server.ts
DELETED
package/src/virtual-modules.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
declare module 'virtual:browser-entry' {
|
|
2
|
-
import { IntrinsicServices } from '@typed/framework'
|
|
3
|
-
import { Renderable } from '@typed/html'
|
|
4
|
-
import { RouteMatcher, Redirect } from '@typed/router'
|
|
5
|
-
|
|
6
|
-
export const matcher: RouteMatcher<IntrinsicServices, Redirect>
|
|
7
|
-
|
|
8
|
-
export const main: Fx<IntrinsicServices, Redirect, Renderable>
|
|
9
|
-
|
|
10
|
-
export const render: <T extends HTMLElement>(parentElement: T) => Fx<never, never, T>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
declare module 'virtual:server-entry' {
|
|
14
|
-
import { IntrinsicServices } from '@typed/framework'
|
|
15
|
-
import { Renderable } from '@typed/html'
|
|
16
|
-
import { RouteMatcher, Redirect } from '@typed/router'
|
|
17
|
-
import express from 'express'
|
|
18
|
-
import expressStaticGzip from 'express-static-gzip'
|
|
19
|
-
|
|
20
|
-
export const app: express.Express
|
|
21
|
-
|
|
22
|
-
export const clientDirectory: string
|
|
23
|
-
|
|
24
|
-
export function staticGzip(
|
|
25
|
-
options?: expressStaticGzip.ExpressStaticGzipOptions,
|
|
26
|
-
): express.RequestHandler
|
|
27
|
-
|
|
28
|
-
export const matcher: RouteMatcher<IntrinsicServices, Redirect>
|
|
29
|
-
|
|
30
|
-
export const main: Fx<IntrinsicServices, Redirect, Renderable>
|
|
31
|
-
|
|
32
|
-
export const indexHtml: string
|
|
33
|
-
|
|
34
|
-
export const requestHandler: express.RequestHandler
|
|
35
|
-
|
|
36
|
-
export const listen: typeof app['listen']
|
|
37
|
-
|
|
38
|
-
type ArgsOf<T> = T extends (...args: infer A) => any ? A : never
|
|
39
|
-
}
|