Unverified Commit b9b35d40 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Remove snippet that is not recommended. (#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.
parent 83a09eee
...@@ -23,10 +23,6 @@ In order to extend our usage of `webpack`, you can define a function that extend ...@@ -23,10 +23,6 @@ In order to extend our usage of `webpack`, you can define a function that extend
```js ```js
module.exports = { module.exports = {
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => { webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
// Note: we provide webpack above so you should not `require` it
// Perform customizations to webpack config
config.plugins.push(new webpack.IgnorePlugin(/\/__tests__\//))
// Important: return the modified config // Important: return the modified config
return config return config
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment