"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

function _react() {
  const data = _interopRequireDefault(require("react"));

  _react = function _react() {
    return data;
  };

  return data;
}

function _fs() {
  const data = require("fs");

  _fs = function _fs() {
    return data;
  };

  return data;
}

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var _default = (path, content) => {
  if ((0, _fs().existsSync)(path) && (0, _fs().readFileSync)(path, 'utf8') === content) {
    return;
  }

  (0, _fs().writeFileSync)(path, content, 'utf8');
};

exports.default = _default;