-
-
Notifications
You must be signed in to change notification settings - Fork 446
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
Any plans for supporting Webpack/TypeScript #784
Comments
Hi just been looking for the same thing. apparently the author has yet to learn how to export modules. And they had just recently learned how to publish to npm as seen on #755. Enabling proper exports for library usage would take quite a time. I can look into making a PR but my fingers are crossed atm. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the modules published on
npm
is not importable from a Webpack module, which can be very difficult to integrate with projects that uses webpack. Furthermore, the module also doesn't seem to have a TypeScript declaration (.d.ts
) file, which makes it impossible to be imported to a TypeScript project without casting toany
. (casting toany
would require the user to check the documentations in JS for the corresponding API, and it is not checked while compiling, which loses the benefit of using TypeScript).If this is supported, it would be much easier for other projects to use it as an external library.
The text was updated successfully, but these errors were encountered: