You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The encoding module should be an optionalDependencies #675
The encoding module is conditionally required, i.e. should be an optionalDependencies in the package.json.
Doing so allows libraries that parse require() statements (using JavaScript AST) such as precinct to know whether a require() statement that cannot be resolved indicates an error or not.
Activity
Richienb commentedon Sep 19, 2019
Fixed in d68d0ef#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R66 and will be released in v3. It is also in the roadmap to rework the charset detection into a separate package so hold tight!
ehmicky commentedon Sep 19, 2019
Great, thanks!