next-type-safe-routes icon indicating copy to clipboard operation
next-type-safe-routes copied to clipboard

Configurable output directory

Open osdiab opened this issue 3 years ago • 3 comments

Supercedes #33 Closes #32

  • Adds a configurable output directory to the plugin
  • Docs for that
  • Tightens up typings with strictness

Worked locally on my project.

osdiab avatar Jan 28 '22 04:01 osdiab

@ckastbjerg not sure how we should make automated tests for this but it does work on my computer.

osdiab avatar Jan 28 '22 04:01 osdiab

@ckastbjerg would love a peek at this!

osdiab avatar Mar 11 '22 04:03 osdiab

@ckastbjerg not sure how we should make automated tests for this but it does work on my computer.

Yeah, good question. Maybe we could look how some of the more mature Next.js plugins does it. But guessing it's not too common to test this aspect of it.

ckastbjerg avatar Mar 22 '22 20:03 ckastbjerg