"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.runtimeCode = exports.WS_CHECKER_CONFIG_RUNTIME_EVENT = exports.WS_CHECKER_RECONNECT_EVENT = exports.WS_CHECKER_ERROR_EVENT = exports.RUNTIME_FILE_PATH = exports.RUNTIME_PUBLIC_PATH = void 0;
const fs_1 = __importDefault(require("fs"));
// #region
// NOTE: sync modification with packages/runtime/src/ws.js
exports.RUNTIME_PUBLIC_PATH = '/@vite-plugin-checker-runtime';
exports.RUNTIME_FILE_PATH = require.resolve('../@runtime/main.js');
exports.WS_CHECKER_ERROR_EVENT = 'vite-plugin-checker:error';
exports.WS_CHECKER_RECONNECT_EVENT = 'vite-plugin-checker:reconnect';
exports.WS_CHECKER_CONFIG_RUNTIME_EVENT = 'vite-plugin-checker:config-runtime';
// #endregion
exports.runtimeCode = `${fs_1.default.readFileSync(exports.RUNTIME_FILE_PATH, 'utf-8')};`;
