-
Notifications
You must be signed in to change notification settings - Fork 19
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
Typescript #45
Comments
The idea of the framework is to minimize dependencies and run bare metal with no/low transpilation. A support of TypeScript will strongly be considered as soon as browsers will directly support it. |
I'll fiddle around with this for a bit and will come back. |
I think I can make this work, here's how:
Once I figure out how to deal with all the paths and scripted up the build process I'll come back with an example. |
I've been at this for a bit longer now, and not as sure anymore. I've managed to make parcel pick up what files to include, and typescript to get compiled down to regular js, but since there is no direct reference from my code to the component functions/classes, it just gets tree-shaken out of the bundle. If I paste the code directly in the script tag instead of doing an import, it isn't detected as typescript and fails in other ways. Going to call it a day here - it should be doable somehow, but the otherwise clean integration gets messy here, so will have to do without. Closing this since my question has been answered. |
I don't see any mention of typescript in this project, is there any setup where typescript can be used here?
The text was updated successfully, but these errors were encountered: