-
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
make ts-browser self contained #10
Comments
Hi, good point, most likely just me being lazy. Will try to patch it shortly. |
Gosh, those workers are such a pain... |
Created a PR that seems to get this working. I am running a local webserver to serve everything and ts-browser is installed in my web root as a folder 'ts-browser'. The changes are likely not comprehensive but its a start. |
klesun#10 ensure typescriptServices is not dynamically evaled. vendor md5.js remove cdn proxy imports
klesun#10 removes defunct files no longer needed
I fixed local scripts being fetched via absolute links in 8b20707, that was very stupid, but wasn't obvious to me at the moment of initial writing how to avoid that. In most places, declaring Making the url of |
Also got rid of remaining klesun url-s - using |
And also published it on npm =3 |
If I copy ts-browser down to my project locally, and load the module as so:
It still calls out to various klesun urls to pull down worker scripts and ts compiler js:
ts-browser/src/TranspileWorker.js
Line 3 in cd85cdc
ts-browser/src/cdnEs6Wrappers/typescriptServices.js
Line 12 in cd85cdc
possibly other places too. Is it possible to make ts-browser self contained so I have no external dependence on your hosted urls?
Edit: I should add this is a very cool project!
The text was updated successfully, but these errors were encountered: