Unverified Commit 954d40be authored by brock-statsig's avatar brock-statsig Committed by GitHub

add Statsig Node Core package to Server External Packages (#84157)

### What?
Statsig is a popular AB Testing/ Feature Flagging solution to use in concert with Next.js. Today, their newest Server SDK doesn't play nicely with Next as its build around a Rust library, which doesn't play nice with webpack and causes build issues.

### Why?
This'll remove a step for Statsig/Next developers having to troubleshoot and add @statsig/statsig-node-core to serverExternalPackages themselves.

### How?
Added to the list published here: https://nextjs.org/docs/app/api-reference/config/next-config-js/serverExternalPackages
parent 600238f0
......@@ -35,6 +35,7 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne
- `@sentry/profiling-node`
- `@sparticuz/chromium`
- `@sparticuz/chromium-min`
- `@statsig/statsig-node-core`
- `@swc/core`
- `@xenova/transformers`
- `argon2`
......
......@@ -35,6 +35,7 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne
- `@sentry/profiling-node`
- `@sparticuz/chromium`
- `@sparticuz/chromium-min`
- `@statsig/statsig-node-core`
- `@swc/core`
- `@xenova/transformers`
- `argon2`
......
......@@ -16,6 +16,7 @@
"@sentry/profiling-node",
"@sparticuz/chromium",
"@sparticuz/chromium-min",
"@statsig/statsig-node-core",
"@swc/core",
"@xenova/transformers",
"argon2",
......
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