prisma-labs / graphql-framework-experiment

Code-First Type-Safe GraphQL Framework
https://nexusjs.org
MIT License
673 stars 66 forks source link

Force include directories in build #1383

Open mipyykko opened 4 years ago

mipyykko commented 4 years ago

Perceived Problem

Our project has a directory of scripts that are run as cronjobs etc. None of them are imported from outside this directory, and none of them import nexus, so they are not emitted to the build created by nexus build. To include these in the build, we have to build the project with tsc with noEmit: false and copy the scripts to the existing, nexus-generated build.

Ideas / Proposed Solution(s)

Provide a way to define directories to be included in the build.