Skip to content
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

bundling issues #7

Closed
edewit opened this issue Apr 18, 2023 · 2 comments
Closed

bundling issues #7

edewit opened this issue Apr 18, 2023 · 2 comments

Comments

@edewit
Copy link

edewit commented Apr 18, 2023

I use kiota which has a dependency on this module and using 'vite' to bundle, get an error

edewit added a commit to edewit/uri-template-lite that referenced this issue Apr 18, 2023
@lauriro
Copy link
Member

lauriro commented Apr 20, 2023

I am not happy with current PR, I will look into different packaging options.
Could you provide an easy steps to follow to get this error?

lauriro added a commit that referenced this issue Apr 21, 2023
Replace `const URI = require("uri-template-lite").URI`
with `const UriTemplate = require("uri-template-lite")`
and `let uri = new URI.Template('...')`
with `let uri = new UriTemplate('...')`

#7
@edewit
Copy link
Author

edewit commented Apr 26, 2023

never mind already stopped using kiota

@edewit edewit closed this as completed Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants