Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb9b35d4

Browse files
authored
Remove snippet that is not recommended. (vercel#25220)
In general this means you did something wrong in your application (importing tests for example), so this should be fixed in the app, not using custom config.
1 parent83a09ee commitb9b35d4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

‎docs/api-reference/next.config.js/custom-webpack-config.md‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ In order to extend our usage of `webpack`, you can define a function that extend
2323
```js
2424
module.exports= {
2525
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack })=> {
26-
// Note: we provide webpack above so you should not `require` it
27-
// Perform customizations to webpack config
28-
config.plugins.push(newwebpack.IgnorePlugin(/\/__tests__\//))
29-
3026
// Important: return the modified config
3127
return config
3228
},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp