You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I then install this yarn workspace package as a dependency of my project which allows everything to bundle correctly.
I think that generating a package.json file, and adding the @geneated/photon package as a local file://-based dependency to a project might make the generated package a bit more standardised and easier to deal with odd edge cases.
Netlify's zip-it-and-ship-it uses the
package.json
'smain
andfiles
keys to know what needs to be bundled during deployment.I generate my prisma2 client into a yarn workspace with the following in my package.json:
I then install this yarn workspace package as a dependency of my project which allows everything to bundle correctly.
I think that generating a
package.json
file, and adding the@geneated/photon
package as a localfile://
-based dependency to a project might make the generated package a bit more standardised and easier to deal with odd edge cases.The text was updated successfully, but these errors were encountered: