Skip to content

Commit

Permalink
fix(nextjs): Mark multiplexer targets as entrypoints (#6919)
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst authored Jan 24, 2023
1 parent 1476a1f commit 7cbac13
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/nextjs/rollup.npm.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ export default [
makeBaseNPMConfig({
// We need to include `instrumentServer.ts` separately because it's only conditionally required, and so rollup
// doesn't automatically include it when calculating the module dependency tree.
entrypoints: ['src/index.server.ts', 'src/index.client.ts', 'src/edge/index.ts', 'src/config/webpack.ts'],
entrypoints: [
'src/index.server.ts',
'src/index.client.ts',
'src/client/index.ts',
'src/server/index.ts',
'src/edge/index.ts',
'src/config/webpack.ts',
],

// prevent this internal nextjs code from ending up in our built package (this doesn't happen automatially because
// the name doesn't match an SDK dependency)
Expand Down

0 comments on commit 7cbac13

Please sign in to comment.