wasp icon indicating copy to clipboard operation
wasp copied to clipboard

Investigate whether the server can work without client file hacks

Open sodic opened this issue 1 year ago • 1 comments

Context: https://github.com/wasp-lang/wasp/pull/1584#discussion_r1404020428

[!NOTE] It makes sense to tackle this first: #1854

Can we remove the client-specific options in our server/tsconfig.json?

With the current setup, it depends on how typescript (or rollup) chooses which files to process:

  • If it's "by demand" (i.e., only process what you need), then we probably don't need the hacks.
  • If it's "by includes directories" (i.e., process all files in directories that are part of the project), then we probably need them.

I don't know which one is it, so we should investigate.

sodic avatar Mar 05 '24 15:03 sodic

I've removed the client hacks. We don't seem to need them anymore: https://github.com/wasp-lang/wasp/pull/1862.

sodic avatar Mar 07 '24 16:03 sodic