function sendMsg(type, data) {
    if ("u" > typeof self && ("u" < typeof WorkerGlobalScope || !(self instanceof WorkerGlobalScope))) self.postMessage({
        type: `webpack${type}`,
        data
    }, '*');
}
const sendMessage = sendMsg;
export default sendMessage;
