Skip to content
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 support: Let api-dev-server and webpack load .ts and .tsx files #438

Merged
merged 4 commits into from
Apr 18, 2020

Conversation

peterp
Copy link
Contributor

@peterp peterp commented Apr 17, 2020

This removes JavaScript specific things from the api and web servers configurations. The consequence of this is that if you rename your .js files to .ts or .tsx that they'll be picked up by the api development server, and webpack.

I do not think we have any blockers anymore for developing with typescript. After this merges, it's more a case of is that experience good? And can you actually build and deploy to production.

On the api side:

  • importall.macro works.
  • functions/ works.

On the web side:

  • Routes work
  • Auto importing pages works
  • Cell auto-loading works

@peterp peterp mentioned this pull request Apr 17, 2020
17 tasks
@peterp peterp added this to the next-release milestone Apr 17, 2020
@peterp peterp merged commit f8dd728 into master Apr 18, 2020
@thedavidprice thedavidprice deleted the pp-make-typescript-work branch April 18, 2020 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant