File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' vite-plugin-solid ' : patch
3
+ ---
4
+
5
+ update option types
Original file line number Diff line number Diff line change @@ -38,22 +38,21 @@ export interface Options {
38
38
*
39
39
* @default true
40
40
*/
41
- dev : boolean ;
41
+ dev ? : boolean ;
42
42
/**
43
- * This will force SSR code in the produced files. This is experiemental
44
- * and mostly not working yet.
43
+ * This will force SSR code in the produced files.
45
44
*
46
45
* @default false
47
46
*/
48
- ssr : boolean ;
47
+ ssr ? : boolean ;
49
48
50
49
/**
51
50
* This will inject HMR runtime in dev mode. Has no effect in prod. If
52
51
* set to `false`, it won't inject the runtime in dev.
53
52
*
54
53
* @default true
55
54
*/
56
- hot : boolean ;
55
+ hot ? : boolean ;
57
56
/**
58
57
* This registers additional extensions that should be processed by
59
58
* vite-plugin-solid.
@@ -67,7 +66,7 @@ export interface Options {
67
66
*
68
67
* @default {}
69
68
*/
70
- babel :
69
+ babel ? :
71
70
| babel . TransformOptions
72
71
| ( ( source : string , id : string , ssr : boolean ) => babel . TransformOptions )
73
72
| ( ( source : string , id : string , ssr : boolean ) => Promise < babel . TransformOptions > ) ;
@@ -77,14 +76,14 @@ export interface Options {
77
76
*
78
77
* @default {}
79
78
*/
80
- solid : {
79
+ solid ? : {
81
80
/**
82
81
* Removed unnecessary closing tags from template strings. More info here:
83
82
* https://github.com/solidjs/solid/blob/main/CHANGELOG.md#smaller-templates
84
83
*
85
84
* @default false
86
85
*/
87
- omitNestedClosingTags : boolean ;
86
+ omitNestedClosingTags ? : boolean ;
88
87
89
88
/**
90
89
* The name of the runtime module to import the methods from.
You can’t perform that action at this time.
0 commit comments