Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shiki and vscode-oniguruma to default server-external packages. #44968

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from

Conversation

selenecodes
Copy link

Description
Shiki and vscode-oniguruma currently use node.js-specific APIs and require the user to add these two packages to their next.config.js in the serverComponentsExternalPackages section.

Related issues
fixes #44316
fixes shikijs/shiki#398

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
  • e2e 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

Shiki and vscode-oniguruma currently use node.js-specific APIs and require the user to add these two packages to their `next.config.js` in the `serverComponentsExternalPackages` section.

Related issues:
- shikijs/shiki#398
- vercel#44316
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants