-
Notifications
You must be signed in to change notification settings - Fork 7
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
point to @webxdc/types
and use @webxdc/vite-plugins
for emulator
#61
Conversation
d7d3831
to
e4f6c48
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but let's wait for @r10s' approval
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
first of all, thanks a lot for the cleanup of the other repo!
for webxdc.js
on some CDN:
i understand, why we do not want to copy the file, wrt maintenance etc.
however, by pulling a file from some CDN, the magic of simplicity and understanding things when not deep into js is also gone somehow, at least for ppl as me.
when following the instructions, you will also have https://cdn.jsdelivr.net/gh/webxdc/vite-plugins@latest/src/webxdc.js
forever in your source code ...
and these instructions are also not what we're saying at https://webxdc.org/docs/#a-simple-example
and having two webxdc.js in the code is also a bit weird.
so, regarding the fact that webxdc.js is not changed that often, maybe it is better to stay with a copy.
<script src="https://cdn.jsdelivr.net/gh/webxdc/vite-plugins@latest/src/webxdc.js"></script> | ||
<script src="webxdc.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so, that results to one 404 in all cases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one of them will always succeed, if you are in DC the real thing will load while in the browser the emulator is used
that is not a problem since it just silently fails to load inside DC where the app doesn't have internet
at the same time now it is easier for people that don't have experience with git, they can just download the index.html file and just with that file alone or copying the content of the example index.html can get it to work |
There is also an unrelated |
close #51