-
Notifications
You must be signed in to change notification settings - Fork 12k
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
perf(install time): Remove dependency to zopfli. #3414
Conversation
This was necessary for the CompressionPlugin, but we never use it, so I re-implemented the copression plugin in typescript in our repo.
|
||
const algorithm = options.hasOwnProperty('algorithm') ? options.algorithm : 'gzip'; | ||
|
||
const zlib = require('zlib'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll need to add this to our package.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same with async
and url
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only async
is needed. The others are part of node itself.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This was necessary for the CompressionPlugin, but we never use it, so I
re-implemented the copression plugin in typescript in our repo.