UNPKG

@nx-dart/nx-dart

Version:

A Nx plugin, that adds support for developing Dart and Flutter packages in a Nx workspace

17 lines 492 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.removeFile = exports.readFile = void 0; const fs = require("fs"); function readFile(filePath) { if (fs.existsSync(filePath)) { return fs.readFileSync(filePath, 'utf-8'); } } exports.readFile = readFile; function removeFile(filePath) { if (fs.existsSync(filePath)) { fs.rmSync(filePath, { recursive: true }); } } exports.removeFile = removeFile; //# sourceMappingURL=fs.js.map