johnagan / clean-webpack-plugin

A webpack plugin to remove your build folder(s) before building

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Outdated version of package "del" causes TypeScript project compile failures

josundt opened this issue · comments

Issue description or question

clean-webpack-plugin's dependency to package "del": "^4.1.1" now causes TypeScript compilation failure in projects that has a more recent version of glob or minimatch installed.

del<=4.1.1 pulls in and outdated version of @types/glob as dependency - this should have been a devDependency.
This has been fixed in more recent version of del.

Right now, clean-webpack-plugin causes TypeScript build failure unless skipLibCheck compiler option is set to true.
Please fix by updating del to a latest (or more recent) version!