Unverified Commit eaeb1311 authored by Shu Ding's avatar Shu Ding Committed by GitHub

Add `prisma` to the external package list (#42323)

It uses __dirname in eval and similar things, and can't be bundled
correctly. Hence we are adding it to the list of external packages.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the
feature request has been accepted for implementation before opening a
PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
parent 503fc854
// A list of popular packages that cannot be bundled on the server. // A list of popular packages that cannot be bundled on the server.
export const EXTERNAL_PACKAGES = [ export const EXTERNAL_PACKAGES = [
'eslint',
'typescript',
'prettier',
'postcss',
'jest',
'autoprefixer',
'tailwindcss',
'sharp',
'express',
'ts-node',
'webpack',
'cypress',
'@sentry/nextjs', '@sentry/nextjs',
'@sentry/node', '@sentry/node',
'autoprefixer',
'cypress',
'eslint',
'express',
'jest',
'mongodb',
'next-mdx-remote',
'next-seo', 'next-seo',
'postcss',
'prettier',
'prisma',
'rimraf', 'rimraf',
'next-mdx-remote', 'sharp',
'sqlite3', 'sqlite3',
'mongodb', 'tailwindcss',
'ts-node',
'typescript',
'webpack',
] ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment