For my petite project, I am utilizing Next.js with TypeScript. A thought has been lingering in my mind lately: is there a way to turn off the types validity checks while executing npm run build
? Since the type checking occurs during npm run dev
, it seems redundant to have it again at build time. Moreover, eliminating this step would streamline the production build process by excluding the unused TypeScript package.