You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if there's a way to excluded the getServerSideProps and default exports for Next.js projects with its file based router.
You can of course exclude the whole file with something like ts-unused-exports tsconfig.json | grep -v getServerSideProps but this will miss any other unused exports from the files as well.
The text was updated successfully, but these errors were encountered:
Hi there, thanks for the work on this!
I'm wondering if there's a way to excluded the
getServerSideProps
anddefault
exports for Next.js projects with its file based router.You can of course exclude the whole file with something like
ts-unused-exports tsconfig.json | grep -v getServerSideProps
but this will miss any other unused exports from the files as well.The text was updated successfully, but these errors were encountered: