Skip to content

make ts-browser self contained #10

Description

@rdlaitila

If I copy ts-browser down to my project locally, and load the module as so:

<script type="module">
        import {loadModule} from './ts-browser/src/ts-browser.js';
        loadModule('./index.ts');
</script>

It still calls out to various klesun urls to pull down worker scripts and ts compiler js:

self.importScripts(

const url = 'https://klesun-misc.github.io/TypeScript/lib/typescriptServices.js';

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!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions