Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
wait ok so this just rewrites the script into ts? |
yep. since it is in ts, the browser cant run it directly, so i use parcel to allow bundling the script into a js file in a normal html file, which can be served the traditional way. that's why vercel is failing |
haha i belive you, but i don't know anythign abt typescript so i have no clue what this means, or how it can be inegrated |
You can look at the official site for more info about how typescript works and how to use it (tl;dr it compiles to js). For this project, if you have a computer, you can run |
is it still possible to run this in a html file? because while i have a computer the kids that im kinda marketing this to migjt not lol |
When building, a |
so the short answer is no? like ts can't be directly compiled by the browser right |
no, but you can compile it and give the kids the compiled result. once github is unblocked, they can check the source code, which must still stay. |
sorry for being so oblivious, but how would i compile it, then have a different result? |
make sure nodejs is installed. open a terminal in this repo. run i purposefully did not ignore |
Allows usage of ESM to modularize the code, TypeScript to ensure its safety, and hot module reloading.
This PR simply adds the infrastructure for expansion of this code--it does not add or change functionality or reorganize
script.(j/t)swdyt?