houdini-svelte 0.0.0-20240904212848 → 0.0.0-20240930215630
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/build/plugin/extract.d.ts +1 -1
- package/build/plugin/index.d.ts +6 -0
- package/build/plugin/transforms/index.d.ts +1 -1
- package/build/plugin-cjs/index.js +996 -1273
- package/build/plugin-esm/index.js +996 -1273
- package/build/preprocess-cjs/index.js +1395 -1675
- package/build/preprocess-esm/index.js +1395 -1675
- package/build/test-cjs/index.js +1000 -1277
- package/build/test-esm/index.js +1000 -1277
- package/package.json +3 -3
package/build/plugin/index.d.ts
CHANGED
|
@@ -38,6 +38,12 @@ export type HoudiniSvelteConfig = {
|
|
|
38
38
|
* @default undefined
|
|
39
39
|
*/
|
|
40
40
|
framework: 'kit' | 'svelte' | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Force Houdini to always use Runes under the hood. Set this to true if you are enabling Runes mode globally for your app.
|
|
43
|
+
* When disabled, Houdini will try to detect Runes and go into Runes mode if required.
|
|
44
|
+
* @default false
|
|
45
|
+
*/
|
|
46
|
+
forceRunesMode?: boolean;
|
|
41
47
|
/**
|
|
42
48
|
* Override the classes used when building stores for documents. Values should take the form package.export
|
|
43
49
|
* For example, if you have a store exported from $lib/stores you should set the value to "$lib/stores.CustomStore".
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TransformPage } from 'houdini/vite';
|
|
2
2
|
import type { SourceMapInput } from 'rollup';
|
|
3
|
-
import type
|
|
3
|
+
import { type Framework } from '../kit';
|
|
4
4
|
export default function apply_transforms(framework: Framework, page: TransformPage): Promise<{
|
|
5
5
|
code: string;
|
|
6
6
|
map?: SourceMapInput;
|