attr-accept
attr-accept copied to clipboard
ESM build?
Is your feature request related to a problem? Please describe.
When including attr-accept in an ESM library, Vite fails to properly convert from CJS to ESM. See https://github.com/soorria/solid-dropzone/issues/3 for a real-world example.
Describe the solution you'd like Offer an ESM build parallel to the current CJS options. I believe a larger Webpack configuration can do this relatively easily.
Describe alternatives you've considered Forking just to produce our own ESM build.
Feel free to submit a PR. I have no idea how to do this.