ModuleBuildError: Module build failed (from ./index.ts):
ValidationError: Invalid options object. Loader has been initialized using an options object that does not match the API schema.
- options.webpackResolveOptions.plugins should be one of these:
"..." | object { … }
Details:
* options.webpackResolveOptions.plugins should be a "...".
* options.webpackResolveOptions.plugins should be "...".
* options.webpackResolveOptions.plugins should be an object:
object { … }
68 | webpackResolveOptions,
69 | ...babelConfig
> 70 | } = this.getOptions(optionsSchema);
@griffel/webpack-loader
has invalid schema forwebpackResolveOptions.plugins
.The config above fails with: