Skip to content

Commit d99cd34

Browse files
fix: simplify webpack config
1 parent 23b7357 commit d99cd34

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

templates/types/streaming/nextjs/webpack.config.mjs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,5 @@ export default function webpack(config) {
44
aws4: false,
55
};
66

7-
// Following lines will fix issues with onnxruntime-node when using pnpm
8-
// See: https://github.com/vercel/next.js/issues/43433
9-
config.externals.push({
10-
"onnxruntime-node": "commonjs onnxruntime-node",
11-
sharp: "commonjs sharp",
12-
});
13-
147
return config;
158
}

0 commit comments

Comments
 (0)