Jared Burke
01/04/2022, 7:18 PMApolloAPI
I need to add a copyFiles
prop to the bundle. This works when running sst build
-- my files are correctly copied to the output directory. But when I run sst start
, the copyFiles
doesn't seem to be respected, and in fact clears out those files that were copiedJared Burke
01/04/2022, 7:19 PMthdxr
01/04/2022, 7:49 PMthdxr
01/04/2022, 7:49 PMthdxr
01/04/2022, 7:49 PMJared Burke
01/04/2022, 7:52 PMJared Burke
01/04/2022, 7:52 PMthdxr
01/04/2022, 7:52 PMthdxr
01/04/2022, 7:53 PMthdxr
01/04/2022, 7:53 PMJared Burke
01/04/2022, 7:55 PMsst start
from the project root, but prisma being located within a workspace in the monorepo. It was looking for prisma in the root-level directory, and I was attempting to copyFiles
up there, which is why pulling prisma up to the top lib level worked. It'll probably be a while before I need to change that so it'll do for now