Skip to content

Commit

Permalink
fix(migrate): Change predefined providerAliases
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhant committed Jun 2, 2020
1 parent 52e288a commit 93d4b2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/packages/cli/src/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ import { Format } from './Format'
// as they have to ship their own version of @prisma/client
const aliases: ProviderAliases = {
'prisma-client-js': {
generatorPath: eval(
`require('path').join(__dirname, '../prisma-client/generator-build/index.js')`,
), // all evals are here for ncc
generatorPath: `node --max-old-space-size=8096 "${eval(
"require('path').join(__dirname, '../prisma-client/generator-build/index.js')",
)}"`, // all evals are here for ncc
outputPath: eval(`require('path').join(__dirname, '../prisma-client/')`),
},
}
Expand Down

0 comments on commit 93d4b2f

Please sign in to comment.