Skip to content

Commit 7e1b8bc

Browse files
committed
add webpack.ts to rollup config
1 parent 650cd95 commit 7e1b8bc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/nextjs/rollup.npm.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ 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/utils/instrumentServer.ts'],
8+
entrypoints: [
9+
'src/index.server.ts',
10+
'src/index.client.ts',
11+
'src/utils/instrumentServer.ts',
12+
'src/config/webpack.ts',
13+
],
914

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

0 commit comments

Comments
 (0)