"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = send; exports.RESTART = exports.STARTING = exports.STATS = exports.ERROR = exports.DONE = void 0; function _react() { const data = _interopRequireDefault(require("react")); _react = function _react() { return data; }; return data; } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } const debug = require('debug')('af-webpack:send'); const DONE = 'DONE'; exports.DONE = DONE; const ERROR = 'ERROR'; exports.ERROR = ERROR; const STATS = 'STATS'; exports.STATS = STATS; const STARTING = 'STARTING'; exports.STARTING = STARTING; const RESTART = 'RESTART'; exports.RESTART = RESTART; function send(message) { if (process.send) { debug(`send ${JSON.stringify(message)}`); process.send(message); } }