Skip to content

Exposed Typings

Choose a tag to compare

@alundiak alundiak released this 10 Aug 13:56
· 12 commits to main since this release
e143546

After small "fight" between proper tsconfig setup, ended up having a bit simplified code.

Based on Vite build config:

  • build remain to contain built code for GitHub pages

Based on tsconfig changes:

  • dist is dedicated for main components *.js files and also *.js.map files in case of need.
  • types is dedicated strictly for typings aka *.d.ts files, exposed after tsc build with dedicated tsconfig.dist.json

In package.json:

  • Set "main" file referring to dist/App.js to avoid using index.js
  • Same with "types" = "types/App.d.ts"
Screenshot 2025-08-10 at 15 25 26