Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
josundt opened this issue Apr 27, 2023 · 2 comments

Comments

@josundt
Copy link

josundt commented Apr 27, 2023

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!

@TripleSpeeder
Copy link

As this seems pretty much unmaintained, any recommendations how to work around? Is there a for existing with this issue solved?

@josundt
Copy link
Author

josundt commented Jan 24, 2024

@TripleSpeeder You can set output.clean to true in webpack config instead now....

nk11dev added a commit to nk11dev/notty that referenced this issue Feb 1, 2024
…d dependencies. 2) Removed "clean-webpack-plugin" dependency and replaced it with "output.clean" ("clean-webpack-plugin" seems like unmaintained and has outdated dependencies, which causes typescript warnings).

Details:
 - Issue, related to "clean-webpack-plugin": Outdated version of package "del" causes TypeScript project compile failures johnagan/clean-webpack-plugin#207
cnrudd added a commit to xh/hoist-dev-utils that referenced this issue Feb 28, 2024
minusleaf pushed a commit to xh/hoist-dev-utils that referenced this issue Mar 5, 2024
amcclain pushed a commit to xh/hoist-dev-utils that referenced this issue Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants