@angular-devkit/build-angular
Version:
Angular Webpack Build Facade
23 lines (22 loc) • 592 B
JavaScript
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// tslint:disable
// TODO: cleanup this file, it's copied as is from Angular CLI.
Object.defineProperty(exports, "__esModule", { value: true });
exports.isDirectory = void 0;
const fs = require("fs");
function isDirectory(path) {
try {
return fs.statSync(path).isDirectory();
}
catch (_) {
return false;
}
}
exports.isDirectory = isDirectory;
;