-
Notifications
You must be signed in to change notification settings - Fork 8
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
How can I use it locally ? #127
Comments
I just converted js with esbuild , it found svg.esm.js from node_modules then packed it in the bundle, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
I just converted svgjs.d.ts successfully
but the generated extern use require
So I can't use it directly, I have to write
untyped Browser.window["svgdotjs_svg_$js_svgdotjs_SvgJs"] = untyped SVG;
and then delete require from output js to be able to run on the browser locally
like so :
My question is how to config the dts2hx so it can be used locally
The text was updated successfully, but these errors were encountered: