1 |
|
2 |
|
3 | const path = require('path')
|
4 | const { getPackedPackage } = require('@prisma/sdk')
|
5 |
|
6 | async function main() {
|
7 | const target = path.join(process.cwd(), './node_modules/@prisma/client')
|
8 | await getPackedPackage('@prisma/client', target, path.join(__dirname, '../'))
|
9 | console.log(`Saving packed client to ${target}`)
|
10 | }
|
11 |
|
12 | main()
|