소스 검색

fix(ui-devkit): Silence sass warnings during compilation

A transitive dependency bump caused many sass warnings to show up
during compilation. Using this feature to silence: https://github.com/angular/angular-cli/pull/28627
Michael Bromley 10 달 전
부모
커밋
724e8498bd
2개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 1
      packages/admin-ui/angular.json
  2. 4 1
      packages/ui-devkit/scaffold/angular.json

+ 4 - 1
packages/admin-ui/angular.json

@@ -40,7 +40,10 @@
               "includePaths": [
               "includePaths": [
                 "./src/lib/static/styles",
                 "./src/lib/static/styles",
                 "./src/lib/static/fonts"
                 "./src/lib/static/fonts"
-              ]
+              ],
+              "sass": {
+                "silenceDeprecations": ["mixed-decls", "color-functions", "global-builtin", "import"]
+              }
             },
             },
             "allowedCommonJsDependencies": [
             "allowedCommonJsDependencies": [
               "graphql-tag",
               "graphql-tag",

+ 4 - 1
packages/ui-devkit/scaffold/angular.json

@@ -55,7 +55,10 @@
               "includePaths": [
               "includePaths": [
                 "./src/styles",
                 "./src/styles",
                 "./src/fonts"
                 "./src/fonts"
-              ]
+              ],
+              "sass": {
+                "silenceDeprecations": ["mixed-decls", "color-functions", "global-builtin", "import"]
+              }
             },
             },
             "allowedCommonJsDependencies": [
             "allowedCommonJsDependencies": [
               "graphql-tag",
               "graphql-tag",