const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
let node_fs_promises = require("node:fs/promises");

//#region ../@intlayer/webpack/dist/esm/chokidar/dist/esm/writeFileIfChanged.mjs
const writeFileIfChanged = async (path, dataOrStream, { encoding = "utf8" } = {}) => {
	await (0, node_fs_promises.writeFile)(path, dataOrStream, { encoding });
	return true;
};

//#endregion
exports.writeFileIfChanged = writeFileIfChanged;
//# sourceMappingURL=writeFileIfChanged.cjs.map