fix(lite): Vite constants declaration (#6511)
This commit is contained in:
parent
1c3cad9235
commit
ff0307b68f
@ -2,6 +2,10 @@
|
|||||||
require("@rushstack/eslint-patch/modern-module-resolution");
|
require("@rushstack/eslint-patch/modern-module-resolution");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
globals: {
|
||||||
|
XO_LITE_GIT_HEAD: true,
|
||||||
|
XO_LITE_VERSION: true,
|
||||||
|
},
|
||||||
root: true,
|
root: true,
|
||||||
env: {
|
env: {
|
||||||
node: true,
|
node: true,
|
||||||
|
3
@xen-orchestra/lite/env.d.ts
vendored
3
@xen-orchestra/lite/env.d.ts
vendored
@ -1,2 +1,5 @@
|
|||||||
/// <reference types="vite/client" />
|
/// <reference types="vite/client" />
|
||||||
/// <reference types="json-rpc-2.0/dist" />
|
/// <reference types="json-rpc-2.0/dist" />
|
||||||
|
|
||||||
|
declare const XO_LITE_VERSION: string;
|
||||||
|
declare const XO_LITE_GIT_HEAD: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user