file-system-host.js 687 B

1234567891011121314151617181920
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. /**
  4. * @license
  5. * Copyright Google Inc. All Rights Reserved.
  6. *
  7. * Use of this source code is governed by an MIT-style license that can be
  8. * found in the LICENSE file at https://angular.io/license
  9. */
  10. const core_1 = require("@angular-devkit/core");
  11. const node_1 = require("@angular-devkit/core/node");
  12. /**
  13. * @deprecated Please use a Host directly instead of this class. This will be removed prior to 1.0.
  14. */
  15. class FileSystemHost extends core_1.virtualFs.ScopedHost {
  16. constructor(dir) {
  17. super(new node_1.NodeJsSyncHost(), core_1.normalize(dir));
  18. }
  19. }
  20. exports.FileSystemHost = FileSystemHost;