π Feature Proposal
strip-bom is a small package (13 lines) and used by jest-runtime. We can inline it than depend on it.
Motivation
By doing this, we can reduce the dependencies total and speed up the installation time.
Example
I think if we can replace it with this simple code.
content.charCodeAt(0) === 0xFEFF ? content.slice(1) : content;
Pitch
This is a suggestion.
π Feature Proposal
strip-bomis a small package (13 lines) and used byjest-runtime. We can inline it than depend on it.Motivation
By doing this, we can reduce the dependencies total and speed up the installation time.
Example
I think if we can replace it with this simple code.
Pitch
This is a suggestion.