title: Angular build - Unmatched selector: %
body: <p>When I run <code>npm run build</code> which executes <code>ng build -c production</code> build will be completed as expected. But command prompt will be filled with this warning:</p>
  <pre><code>Warning: 303 rules skipped due to selector errors:
    0% -&gt; Unmatched selector: %
    20% -&gt; Unmatched selector: %
    53% -&gt; Unmatched selector: %
    40% -&gt; Unmatched selector: %
    43% -&gt; Unmatched selector: %
    70% -&gt; Unmatched selector: %
    80% -&gt; Unmatched selector: %
    90% -&gt; Unmatched selector: %
  ...
  </code></pre>
  <p>How to solve this warning?</p>
  <p><code>package.json</code>:</p>
  <pre><code>{
    &quot;name&quot;: &quot;wepod-clients&quot;,
    &quot;version&quot;: &quot;3.2.3&quot;,
    &quot;scripts&quot;: {
      &quot;ng&quot;: &quot;ng&quot;,
      &quot;start&quot;: &quot;node patch.js &amp;&amp; ng serve&quot;,
      &quot;serve-auth&quot;: &quot;ng run wepod-app:serve-auth-standalone:production&quot;,
      &quot;build&quot;: &quot;node patch.js &amp;&amp; node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng run wepod-app:app-shell:production &amp;&amp; ng run wepod-app:auth-standalone:production&quot;,
      &quot;server&quot;: &quot;npm run build &amp;&amp; http-server -p 9090 -c-1 dist&quot;,
      &quot;test&quot;: &quot;ng test&quot;,
      &quot;lint&quot;: &quot;ng lint --fix&quot;,
      &quot;e2e&quot;: &quot;ng e2e&quot;,
      &quot;postinstall&quot;: &quot;node patch.js &amp;&amp; ngcc&quot;,
      &quot;postbuild&quot;: &quot;node post-build.js&quot;,
      &quot;prepare&quot;: &quot;husky install&quot;,
      &quot;build-latest&quot;: &quot;git pull origin production &amp;&amp; npm run build&quot;
    },
    &quot;private&quot;: true,
    &quot;dependencies&quot;: {
      &quot;@angular/animations&quot;: &quot;^13.0.0&quot;,
      &quot;@angular/cdk&quot;: &quot;^13.0.0&quot;,
      &quot;@angular/cli&quot;: &quot;^13.0.1&quot;,
      &quot;@angular/common&quot;: &quot;^13.0.0&quot;,
      &quot;@angular/compiler&quot;: &quot;^13.0.0&quot;,
      &quot;@angular/core&quot;: &quot;^13.0.0&quot;,
      &quot;@angular/forms&quot;: &quot;^13.0.0&quot;,
      &quot;@angular/localize&quot;: &quot;^13.0.0&quot;,
      &quot;@angular/platform-browser&quot;: &quot;^13.0.0&quot;,
      &quot;@angular/platform-browser-dynamic&quot;: &quot;^13.0.0&quot;,
      &quot;@angular/platform-server&quot;: &quot;^13.0.0&quot;,
      &quot;@angular/router&quot;: &quot;^13.0.0&quot;,
      &quot;@angular/service-worker&quot;: &quot;^13.0.0&quot;,
      &quot;@types/video.js&quot;: &quot;^7.3.27&quot;,
      &quot;animate.css&quot;: &quot;^4.1.1&quot;,
      &quot;assert&quot;: &quot;^2.0.0&quot;,
      &quot;bowser&quot;: &quot;^2.11.0&quot;,
      &quot;buffer&quot;: &quot;^6.0.3&quot;,
      &quot;bundle-loader&quot;: &quot;^0.5.6&quot;,
      &quot;compare-version&quot;: &quot;^0.1.2&quot;,
      &quot;constants-browserify&quot;: &quot;^1.0.0&quot;,
      &quot;crypto-browserify&quot;: &quot;^3.12.0&quot;,
      &quot;crypto-js&quot;: &quot;^4.1.1&quot;,
      &quot;d3&quot;: &quot;^6.5.0&quot;,
      &quot;hammerjs&quot;: &quot;^2.0.8&quot;,
      &quot;https-browserify&quot;: &quot;^1.0.0&quot;,
      &quot;jalali-moment&quot;: &quot;^3.3.10&quot;,
      &quot;lottie-web&quot;: &quot;^5.7.13&quot;,
      &quot;lzutf8&quot;: &quot;^0.6.0&quot;,
      &quot;net&quot;: &quot;^1.0.2&quot;,
      &quot;ng-gallery&quot;: &quot;^5.1.1&quot;,
      &quot;ng2-jalali-date-picker&quot;: &quot;^2.4.2&quot;,
      &quot;ngx-device-detector&quot;: &quot;^1.5.2&quot;,
      &quot;ngx-doughnut-chart&quot;: &quot;0.0.4&quot;,
      &quot;ngx-infinite-scroll&quot;: &quot;^8.0.2&quot;,
      &quot;ngx-lottie&quot;: &quot;^7.0.4&quot;,
      &quot;ngx-owl-carousel-o&quot;: &quot;^3.1.1&quot;,
      &quot;ngx-skeleton-loader&quot;: &quot;^2.10.1&quot;,
      &quot;ngx-toastr&quot;: &quot;^12.1.0&quot;,
      &quot;os-browserify&quot;: &quot;^0.3.0&quot;,
      &quot;podchat-browser&quot;: &quot;^10.14.13&quot;,
      &quot;rxjs&quot;: &quot;^6.6.7&quot;,
      &quot;stream-browserify&quot;: &quot;^3.0.0&quot;,
      &quot;stream-http&quot;: &quot;^3.2.0&quot;,
      &quot;tls&quot;: &quot;0.0.1&quot;,
      &quot;ts-ebml&quot;: &quot;^2.0.2&quot;,
      &quot;tslib&quot;: &quot;^2.0.0&quot;,
      &quot;uuid&quot;: &quot;^8.3.2&quot;,
      &quot;video.js&quot;: &quot;^7.15.4&quot;,
      &quot;videojs-record&quot;: &quot;^4.5.0&quot;,
      &quot;zone.js&quot;: &quot;~0.11.4&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;@angular-devkit/build-angular&quot;: &quot;^13.0.1&quot;,
      &quot;@angular-devkit/core&quot;: &quot;^13.0.1&quot;,
      &quot;@angular/compiler-cli&quot;: &quot;^13.0.0&quot;,
      &quot;@angular/language-service&quot;: &quot;^13.0.0&quot;,
      &quot;@egjs/hammerjs&quot;: &quot;^2.0.17&quot;,
      &quot;@types/hammerjs&quot;: &quot;^2.0.40&quot;,
      &quot;@types/jasmine&quot;: &quot;~3.6.0&quot;,
      &quot;@types/jasminewd2&quot;: &quot;^2.0.10&quot;,
      &quot;@types/node&quot;: &quot;^12.20.36&quot;,
      &quot;codelyzer&quot;: &quot;^6.0.0&quot;,
      &quot;colors&quot;: &quot;^1.4.0&quot;,
      &quot;git-tag-version&quot;: &quot;^1.3.1&quot;,
      &quot;gulp&quot;: &quot;^4.0.2&quot;,
      &quot;gulp-gzip&quot;: &quot;^1.4.2&quot;,
      &quot;http-server&quot;: &quot;^14.0.0&quot;,
      &quot;husky&quot;: &quot;^7.0.4&quot;,
      &quot;jasmine-core&quot;: &quot;~3.6.0&quot;,
      &quot;jasmine-spec-reporter&quot;: &quot;~5.0.0&quot;,
      &quot;karma&quot;: &quot;^6.3.7&quot;,
      &quot;karma-chrome-launcher&quot;: &quot;~3.1.0&quot;,
      &quot;karma-coverage-istanbul-reporter&quot;: &quot;^2.1.0&quot;,
      &quot;karma-jasmine&quot;: &quot;~4.0.0&quot;,
      &quot;karma-jasmine-html-reporter&quot;: &quot;^1.5.0&quot;,
      &quot;protractor&quot;: &quot;^7.0.0&quot;,
      &quot;ts-node&quot;: &quot;^8.10.2&quot;,
      &quot;tslint&quot;: &quot;^6.1.3&quot;,
      &quot;typescript&quot;: &quot;4.4.4&quot;,
      &quot;zip-dir&quot;: &quot;^2.0.0&quot;
    },
    &quot;browser&quot;: {
      &quot;fs&quot;: false,
      &quot;path&quot;: false,
      &quot;os&quot;: false
    }
  }
  </code></pre>