"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isUsingHMR = void 0;
function isUsingHMR(config, { isProd, target }) {
    return (!isProd &&
        target !== 'node' &&
        target !== 'web-worker' &&
        target !== 'service-worker' &&
        config.dev.hmr);
}
exports.isUsingHMR = isUsingHMR;
