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

For extract-css, do not use the obsolete batch package anymore #131

Open
binarykitchen opened this issue Sep 14, 2024 · 0 comments
Open

Comments

@binarykitchen
Copy link

Problem

extract-css relies on a broken npm package named batch, see
https://github.com/jonkemp/inline-css/blob/master/packages/extract-css/package.json#L17

The npm package batch has issues, is broken, and isn't maintained for 7 years:
https://github.com/visionmedia/batch/blob/master/index.js

The cause is, it requires the emitter package which isn't listed under dependencies and breaks modern TS builds.

A possible solution would be to replace batch with another package with similar functionality.

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

1 participant