vite-plugin-php 2.0.1 → 2.0.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/README.md +2 -0
- package/dist/index.cjs +6641 -5988
- package/dist/index.d.cts +7 -1
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.mjs +6640 -5988
- package/package.json +6 -2
package/dist/index.d.cts
CHANGED
|
@@ -22,6 +22,9 @@ type EPHPError = (typeof EPHPError)[keyof typeof EPHPError];
|
|
|
22
22
|
|
|
23
23
|
type UsePHPConfig = {
|
|
24
24
|
binary?: string;
|
|
25
|
+
php?: {
|
|
26
|
+
host?: string;
|
|
27
|
+
};
|
|
25
28
|
entry?: string | string[];
|
|
26
29
|
rewriteUrl?: (requestUrl: URL) => URL | undefined;
|
|
27
30
|
tempDir?: string;
|
|
@@ -32,4 +35,7 @@ type UsePHPConfig = {
|
|
|
32
35
|
};
|
|
33
36
|
declare function usePHP(cfg?: UsePHPConfig): Plugin[];
|
|
34
37
|
|
|
35
|
-
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
export = usePHP;
|
|
40
|
+
export { EPHPError };
|
|
41
|
+
export type { UsePHPConfig };
|
package/dist/index.d.mts
CHANGED
|
@@ -22,6 +22,9 @@ type EPHPError = (typeof EPHPError)[keyof typeof EPHPError];
|
|
|
22
22
|
|
|
23
23
|
type UsePHPConfig = {
|
|
24
24
|
binary?: string;
|
|
25
|
+
php?: {
|
|
26
|
+
host?: string;
|
|
27
|
+
};
|
|
25
28
|
entry?: string | string[];
|
|
26
29
|
rewriteUrl?: (requestUrl: URL) => URL | undefined;
|
|
27
30
|
tempDir?: string;
|
|
@@ -32,4 +35,5 @@ type UsePHPConfig = {
|
|
|
32
35
|
};
|
|
33
36
|
declare function usePHP(cfg?: UsePHPConfig): Plugin[];
|
|
34
37
|
|
|
35
|
-
export { EPHPError,
|
|
38
|
+
export { EPHPError, usePHP as default };
|
|
39
|
+
export type { UsePHPConfig };
|
package/dist/index.d.ts
CHANGED
|
@@ -22,6 +22,9 @@ type EPHPError = (typeof EPHPError)[keyof typeof EPHPError];
|
|
|
22
22
|
|
|
23
23
|
type UsePHPConfig = {
|
|
24
24
|
binary?: string;
|
|
25
|
+
php?: {
|
|
26
|
+
host?: string;
|
|
27
|
+
};
|
|
25
28
|
entry?: string | string[];
|
|
26
29
|
rewriteUrl?: (requestUrl: URL) => URL | undefined;
|
|
27
30
|
tempDir?: string;
|
|
@@ -32,4 +35,7 @@ type UsePHPConfig = {
|
|
|
32
35
|
};
|
|
33
36
|
declare function usePHP(cfg?: UsePHPConfig): Plugin[];
|
|
34
37
|
|
|
35
|
-
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
export = usePHP;
|
|
40
|
+
export { EPHPError };
|
|
41
|
+
export type { UsePHPConfig };
|