project-style.js 671 B

123456789101112131415
  1. "use strict";
  2. /**
  3. * Use of this source code is governed by an MIT-style license that can be
  4. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  5. */
  6. Object.defineProperty(exports, "__esModule", { value: true });
  7. exports.getProjectStyle = getProjectStyle;
  8. const schematics_1 = require("@angular/cdk/schematics");
  9. const schema_1 = require("@schematics/angular/application/schema");
  10. function getProjectStyle(project) {
  11. const stylesPath = (0, schematics_1.getProjectStyleFile)(project);
  12. const style = stylesPath ? stylesPath.split('.').pop() : schema_1.Style.Css;
  13. return style;
  14. }
  15. //# sourceMappingURL=project-style.js.map