initial commit
This commit is contained in:
7
node_modules/vite-plugin-checker/dist/esm/client/index.d.ts
generated
vendored
Normal file
7
node_modules/vite-plugin-checker/dist/esm/client/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
declare const RUNTIME_PUBLIC_PATH = "/@vite-plugin-checker-runtime";
|
||||
declare const RUNTIME_FILE_PATH: string;
|
||||
declare const WS_CHECKER_ERROR_EVENT = "vite-plugin-checker:error";
|
||||
declare const WS_CHECKER_RECONNECT_EVENT = "vite-plugin-checker:reconnect";
|
||||
declare const runtimeCode: string;
|
||||
|
||||
export { RUNTIME_FILE_PATH, RUNTIME_PUBLIC_PATH, WS_CHECKER_ERROR_EVENT, WS_CHECKER_RECONNECT_EVENT, runtimeCode };
|
||||
16
node_modules/vite-plugin-checker/dist/esm/client/index.js
generated
vendored
Normal file
16
node_modules/vite-plugin-checker/dist/esm/client/index.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import fs from "fs";
|
||||
import { createRequire } from "module";
|
||||
const _require = createRequire(import.meta.url);
|
||||
const RUNTIME_PUBLIC_PATH = "/@vite-plugin-checker-runtime";
|
||||
const RUNTIME_FILE_PATH = import.meta.url.endsWith(".ts") ? _require.resolve("../@runtime/main.js") : _require.resolve("../../@runtime/main.js");
|
||||
const WS_CHECKER_ERROR_EVENT = "vite-plugin-checker:error";
|
||||
const WS_CHECKER_RECONNECT_EVENT = "vite-plugin-checker:reconnect";
|
||||
const runtimeCode = `${fs.readFileSync(RUNTIME_FILE_PATH, "utf-8")};`;
|
||||
export {
|
||||
RUNTIME_FILE_PATH,
|
||||
RUNTIME_PUBLIC_PATH,
|
||||
WS_CHECKER_ERROR_EVENT,
|
||||
WS_CHECKER_RECONNECT_EVENT,
|
||||
runtimeCode
|
||||
};
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
node_modules/vite-plugin-checker/dist/esm/client/index.js.map
generated
vendored
Normal file
1
node_modules/vite-plugin-checker/dist/esm/client/index.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/client/index.ts"],"sourcesContent":["import fs from 'fs'\nimport { createRequire } from 'module'\nconst _require = createRequire(import.meta.url)\n\n// #region\n// NOTE: sync modification with packages/runtime/src/ws.js\nexport const RUNTIME_PUBLIC_PATH = '/@vite-plugin-checker-runtime'\nexport const RUNTIME_FILE_PATH = import.meta.url.endsWith('.ts')\n ? _require.resolve('../@runtime/main.js')\n : _require.resolve('../../@runtime/main.js')\nexport const WS_CHECKER_ERROR_EVENT = 'vite-plugin-checker:error'\nexport const WS_CHECKER_RECONNECT_EVENT = 'vite-plugin-checker:reconnect'\n// #endregion\n\nexport const runtimeCode = `${fs.readFileSync(RUNTIME_FILE_PATH, 'utf-8')};`\n"],"mappings":"AAAA,OAAO,QAAQ;AACf,SAAS,qBAAqB;AAC9B,MAAM,WAAW,cAAc,YAAY,GAAG;AAIvC,MAAM,sBAAsB;AAC5B,MAAM,oBAAoB,YAAY,IAAI,SAAS,KAAK,IAC3D,SAAS,QAAQ,qBAAqB,IACtC,SAAS,QAAQ,wBAAwB;AACtC,MAAM,yBAAyB;AAC/B,MAAM,6BAA6B;AAGnC,MAAM,cAAc,GAAG,GAAG,aAAa,mBAAmB,OAAO;","names":[]}
|
||||
Reference in New Issue
Block a user