configuration.resolve.extensions[0] should not be empty

After the upgrade of webpack, empty strings cannot be used in the extensions array, and * should be used instead.

 

resolve: {
        extensions: ['*', '.js', '.jsx', '.json'],
      }

 

Read More: