insomnia icon indicating copy to clipboard operation
insomnia copied to clipboard

use tsconfigs to split code running in node and browser contexts

Open jackkav opened this issue 8 months ago • 0 comments

inspired by electron-vite project

challenges

  • [x] add a tsconfig.node.json covering src/main/**
  • [x] get it to pass type-checking
  • [x] add a tsconfig.web.json covering src/ui/**
  • [x] get it to pass type-checking
  • [x] 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 avatar Apr 01 '25 08:04 jackkav