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

use tsconfigs to split code running in node and browser contexts #8562

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

jackkav
Copy link
Contributor

@jackkav jackkav commented Apr 1, 2025

inspired by electron-vite project

challenges

  • add a tsconfig.node.json covering src/main/**
  • get it to pass type-checking
  • add a tsconfig.web.json covering src/ui/**
  • get it to pass type-checking
  • add package.json scripts
  • figure out the best way to move folders into ui or main
  • split types folder into renderer only custom types and main custom types

@jackkav jackkav force-pushed the folder-scoped-tsconfigs branch from 95aadf9 to 8355d81 Compare April 2, 2025 12:30
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