Skip to content

Commit

Permalink
Create asset folder for studio server before attempting to copy to it
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhant committed Jul 17, 2019
1 parent fe68776 commit 296ec4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli/prisma2/scripts/copy-runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ cp -R node_modules/@prisma/photon/runtime/* runtime
cp -R node_modules/nexus-prisma/nexus_prisma_ncc_build/* nexus_prisma_ncc_build
# cp -R node_modules/prisma-test-utils/prisma-test-utils_ncc/* prisma-test-utils_ncc
cp node_modules/@prisma/lift/dist/GeneratorWorker.js build/GeneratorWorker.js
rm -rf build/public
mkdir build/public
cp -R node_modules/@prisma/studio/build/* build/public
rm -rf build/public/static/js/*.map
rm -rf build/public1/static/js/*.map
Expand Down

0 comments on commit 296ec4f

Please sign in to comment.