/
dany
/
ReshenijaBotInformationSite
Обзор
Документация
Войти
/
dany
/
ReshenijaBotInformationSite
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
node_modules/webpack-dev-server/client/utils/sendMessage.js
16 строк
435 B
Daniil
Initial commit
31 окт 2023, 01:10
31 окт 2023, 01:10
a171ae1
Код
Авторство
О чём код?
/* global __resourceQuery WorkerGlobalScope */ // Send messages to the outside, so plugins can consume it. /** * @param {string} type * @param {any} [data] */ function sendMsg(type, data) { if (typeof self !== "undefined" && (typeof WorkerGlobalScope === "undefined" || !(self instanceof WorkerGlobalScope))) { self.postMessage({ type: "webpack".concat(type), data: data }, "*"); } } export default sendMsg;