ivanblazevic / ngx-unused-css

Angular unused css detection
82 stars 16 forks source link

Handle string and array of strings for unusedCssClasses #26

Closed vdumbrav closed 2 years ago

vdumbrav commented 3 years ago

Fix: https://github.com/ivanblazevic/ngx-unused-css/issues/32

TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
    at Object.__read (/usr/local/lib/node_modules/ngx-unused-css/node_modules/tslib/tslib.js:169:50)
    at /usr/local/lib/node_modules/ngx-unused-css/dist/src/main/getUnusedClasses.js:17:34
    at Array.filter (<anonymous>)
    at /usr/local/lib/node_modules/ngx-unused-css/dist/src/main/getUnusedClasses.js:16:22
MCFreddie777 commented 3 years ago

Can we get this merged? The package is quite unusable without this.

ivanblazevic commented 2 years ago

Can we get this merged? The package is quite unusable without this.

Thnx for fixing this, apologise for not merging it sooner!

ivanblazevic commented 2 years ago

Released: https://github.com/ivanblazevic/ngx-unused-css/releases/tag/3.0.3