Skip to content

Commit 7cbac13

Browse files
author
Luca Forstner
authored
fix(nextjs): Mark multiplexer targets as entrypoints (#6919)
1 parent 1476a1f commit 7cbac13

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/nextjs/rollup.npm.config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@ export default [
55
makeBaseNPMConfig({
66
// We need to include `instrumentServer.ts` separately because it's only conditionally required, and so rollup
77
// doesn't automatically include it when calculating the module dependency tree.
8-
entrypoints: ['src/index.server.ts', 'src/index.client.ts', 'src/edge/index.ts', 'src/config/webpack.ts'],
8+
entrypoints: [
9+
'src/index.server.ts',
10+
'src/index.client.ts',
11+
'src/client/index.ts',
12+
'src/server/index.ts',
13+
'src/edge/index.ts',
14+
'src/config/webpack.ts',
15+
],
916

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

0 commit comments

Comments
 (0)