UNPKG
vite-plugin-env
Version:
latest (1.0.1)
1.0.1
1.0.0
Add custom env variables into your vite bundle
github.com/zouloux/deuspi
zouloux/deuspi
vite-plugin-env
/
dist
/
vite-plugin-env.d.ts
11 lines
(10 loc)
•
281 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
type
TAssociative
=
Record
<
string
|
number
,
string
|
number
|
boolean
>;
export
type
TEnvValues
= (
TAssociative
| (
() =>
TAssociative
));
export
declare
function
env
(
envs
:
TEnvValues
): {
name
:
string
;
enforce
:
string
;
config
(): {
define
: {}; }; };
export
{};