unplugin-env 0.1.3 → 0.1.5
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-MNU7HARO.js → chunk-2KZLPXSE.js} +1284 -1147
- package/dist/{chunk-YGAPXDJU.js → chunk-5EP4GEYR.js} +1 -1
- package/dist/{chunk-TZPPLLDV.js → chunk-QAX3K5V3.js} +1 -1
- package/dist/esbuild.cjs +1601 -1464
- package/dist/esbuild.js +1 -1
- package/dist/index.cjs +1601 -1464
- package/dist/index.js +1 -1
- package/dist/nuxt.cjs +1601 -1464
- package/dist/nuxt.js +3 -3
- package/dist/rollup.cjs +1601 -1464
- package/dist/rollup.js +1 -1
- package/dist/types.d.cts +11 -4
- package/dist/types.d.ts +11 -4
- package/dist/vite.cjs +1601 -1464
- package/dist/vite.js +2 -2
- package/dist/webpack.cjs +1601 -1464
- package/dist/webpack.js +2 -2
- package/package.json +25 -24
package/dist/rollup.js
CHANGED
package/dist/types.d.cts
CHANGED
|
@@ -26,10 +26,17 @@ interface Options {
|
|
|
26
26
|
*/
|
|
27
27
|
build?: RegExp;
|
|
28
28
|
};
|
|
29
|
+
compress?: {
|
|
30
|
+
outDir?: string;
|
|
31
|
+
ignoreBase?: boolean;
|
|
32
|
+
};
|
|
29
33
|
}
|
|
30
|
-
|
|
34
|
+
type DeepRequired<T> = {
|
|
35
|
+
[P in keyof T]-?: T[P] extends object ? DeepRequired<T[P]> : T[P];
|
|
36
|
+
};
|
|
37
|
+
type ResolvedOptions = DeepRequired<Options> & {
|
|
31
38
|
date: string;
|
|
32
|
-
}
|
|
39
|
+
};
|
|
33
40
|
interface GenerateScript {
|
|
34
41
|
code: string;
|
|
35
42
|
script: string;
|
|
@@ -38,7 +45,7 @@ interface GenerateScript {
|
|
|
38
45
|
source: string;
|
|
39
46
|
fileName: string;
|
|
40
47
|
};
|
|
41
|
-
|
|
48
|
+
watchFiles: string[];
|
|
42
49
|
}
|
|
43
50
|
|
|
44
|
-
export type { GenerateScript, Options, ResolvedOptions };
|
|
51
|
+
export type { DeepRequired, GenerateScript, Options, ResolvedOptions };
|
package/dist/types.d.ts
CHANGED
|
@@ -26,10 +26,17 @@ interface Options {
|
|
|
26
26
|
*/
|
|
27
27
|
build?: RegExp;
|
|
28
28
|
};
|
|
29
|
+
compress?: {
|
|
30
|
+
outDir?: string;
|
|
31
|
+
ignoreBase?: boolean;
|
|
32
|
+
};
|
|
29
33
|
}
|
|
30
|
-
|
|
34
|
+
type DeepRequired<T> = {
|
|
35
|
+
[P in keyof T]-?: T[P] extends object ? DeepRequired<T[P]> : T[P];
|
|
36
|
+
};
|
|
37
|
+
type ResolvedOptions = DeepRequired<Options> & {
|
|
31
38
|
date: string;
|
|
32
|
-
}
|
|
39
|
+
};
|
|
33
40
|
interface GenerateScript {
|
|
34
41
|
code: string;
|
|
35
42
|
script: string;
|
|
@@ -38,7 +45,7 @@ interface GenerateScript {
|
|
|
38
45
|
source: string;
|
|
39
46
|
fileName: string;
|
|
40
47
|
};
|
|
41
|
-
|
|
48
|
+
watchFiles: string[];
|
|
42
49
|
}
|
|
43
50
|
|
|
44
|
-
export type { GenerateScript, Options, ResolvedOptions };
|
|
51
|
+
export type { DeepRequired, GenerateScript, Options, ResolvedOptions };
|