bun-plugin-stx 0.1.16 → 0.2.3
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/chunk-eecw9x2f.js +4 -0
- package/dist/chunk-ymdk9x8z.js +458 -0
- package/dist/client.js +116 -1
- package/dist/index.d.ts +29 -2
- package/dist/index.js +21 -19
- package/dist/preload.js +9 -1
- package/dist/serve.d.ts +12 -0
- package/dist/serve.js +5621 -15
- package/dist/watch.d.ts +106 -0
- package/package.json +4 -4
- package/dist/chunk-h0s48z3v.js +0 -3
- package/dist/chunk-mjj2b826.js +0 -678
package/dist/serve.d.ts
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Start the STX development server
|
|
3
|
+
* @param options Server options with patterns and port
|
|
4
|
+
*/
|
|
5
|
+
export declare function serve(options: ServeOptions): Promise<void>;
|
|
6
|
+
export declare interface ServeOptions {
|
|
7
|
+
patterns: string[]
|
|
8
|
+
port?: number
|
|
9
|
+
componentsDir?: string
|
|
10
|
+
layoutsDir?: string
|
|
11
|
+
partialsDir?: string
|
|
12
|
+
}
|