aadsm / jschardet

Character encoding auto-detection in JavaScript (port of python's chardet)
GNU Lesser General Public License v2.1
714 stars 97 forks source link

Add main field to package.json #73

Open JohnstonCode opened 3 years ago

JohnstonCode commented 3 years ago

The main field was missing from the package.json that was stopping me from requiring jschardet when bundled in a .asar

lramos15 commented 2 years ago

Would love to see this merged as well. VS Code has a similar problem where we hardcode the entrypoint for jschardet when loading it in the web because it doesn't specify where to load it from.

benrr101 commented 2 years ago

Azure data studio also has this issue that throws a warning. It's a one line change, can we get it pulled in?