title: When I update my react app packages, it does not work
body: <p>My <code>node.js</code> version is <code>16.13.1</code>.</p>
  <p>I'am using these packages</p>
  <pre><code>&quot;react&quot;: &quot;^16.8.2&quot;,
  &quot;react-dom&quot;: &quot;^16.8.2&quot;,    
  &quot;webpack&quot;: &quot;^5.66.0&quot;,
  &quot;webpack-dev-server&quot;: &quot;^4.7.3&quot;,
  &quot;webpack-manifest-plugin&quot;: &quot;^4.1.1&quot;
  &quot;babel-core&quot;: &quot;6.26.3&quot;,
  &quot;babel-eslint&quot;: &quot;7.2.3&quot;,
  &quot;babel-jest&quot;: &quot;27.4.6&quot;,
  &quot;babel-loader&quot;: &quot;8.2.3&quot;,
  &quot;babel-preset-react-app&quot;: &quot;^10.0.1&quot;,
  &quot;babel-runtime&quot;: &quot;6.26.0&quot;
  </code></pre>
  <p>I'am trying to update my react app. but when I try to run my react app with <code>npm start</code>, I took this error.</p>
  <blockquote>
  <p>ValidationError: Invalid options object. Ignore Plugin has been
  initialized using an options object that does not match the API
  schema.</p>
  <ul>
  <li>options should be one of these:    object { resourceRegExp, contextRegExp? } | object { checkResource }    Details:
  <ul>
  <li>options misses the property 'resourceRegExp'. Should be:
  RegExp
  -&gt; A RegExp to test the request against.</li>
  <li>options misses the property 'checkResource'. Should be:
  function
  -&gt; A filter function for resource and context.</li>
  </ul>
  </li>
  </ul>
  </blockquote>
  <pre><code>errors: [
      {
        keyword: 'anyOf',
        dataPath: '',
        schemaPath: '#/anyOf',
        params: {},
        message: 'should match some schema in anyOf',
        schema: [
          {
            type: 'object',
            additionalProperties: false,
            properties: { contextRegExp: [Object], resourceRegExp: [Object] },
            required: [ 'resourceRegExp' ]
          },
          {
            type: 'object',
            additionalProperties: false,
            properties: { checkResource: [Object] },
            required: [ 'checkResource' ]
          }
        ],
        parentSchema: {
          title: 'IgnorePluginOptions',
          anyOf: [
            {
              type: 'object',
              additionalProperties: false,
              properties: [Object],
              required: [Array]
            },
            {
              type: 'object',
              additionalProperties: false,
              properties: [Object],
              required: [Array]
            }
          ]
        },
        data: /^\.\/locale$/,
        children: [
          {
            keyword: 'required',
            dataPath: '',
            schemaPath: '#/anyOf/0/required',
            params: { missingProperty: 'resourceRegExp' },
            message: &quot;should have required property 'resourceRegExp'&quot;,
            schema: { contextRegExp: [Object], resourceRegExp: [Object] },
            parentSchema: {
              type: 'object',
              additionalProperties: false,
              properties: [Object],
              required: [Array]
            },
            data: /^\.\/locale$/,
            children: undefined
          },
          {
            keyword: 'required',
            dataPath: '',
            schemaPath: '#/anyOf/1/required',
            params: { missingProperty: 'checkResource' },
            message: &quot;should have required property 'checkResource'&quot;,
            schema: { checkResource: [Object] },
            parentSchema: {
              type: 'object',
              additionalProperties: false,
              properties: [Object],
              required: [Array]
            },
            data: /^\.\/locale$/,
            children: undefined
          }
        ]
      }
    ],
    schema: {
      title: 'IgnorePluginOptions',
      anyOf: [
        {
          type: 'object',
          additionalProperties: false,
          properties: {
            contextRegExp: {
              description: 'A RegExp to test the context (directory) against.',
              instanceof: 'RegExp',
              tsType: 'RegExp'
            },
            resourceRegExp: {
              description: 'A RegExp to test the request against.',
              instanceof: 'RegExp',
              tsType: 'RegExp'
            }
          },
          required: [ 'resourceRegExp' ]
        },
        {
          type: 'object',
          additionalProperties: false,
          properties: {
            checkResource: {
              description: 'A filter function for resource and context.',
              instanceof: 'Function',
              tsType: '((resource: string, context: string) =&gt; boolean)'
            }
          },
          required: [ 'checkResource' ]
        }
      ]
    },
    headerName: 'Ignore Plugin',
    baseDataPath: 'options',
    postFormatter: null
  }
  </code></pre>