Hi, I'm trying to add the webpack 5 beta but I have this error on compilation:
Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema
- configuration[0].module.rules[2].issuer has an unknown property 'test'.
name: 'ValidationError',
errors: [
{
keyword: 'oneOf',
dataPath: '[0].module.rules',
schemaPath: '#/properties/rules/oneOf',
params: [Object],
message: 'should match exactly one schema in oneOf',
schema: [Array],
parentSchema: [Object],
data: [Array],
children: [Array]
},
{
keyword: 'oneOf',
dataPath: '[1].module.rules',
schemaPath: '#/properties/rules/oneOf',
params: [Object],
message: 'should match exactly one schema in oneOf',
schema: [Array],
parentSchema: [Object],
data: [Array],
children: [Array]
}
],
Maybe are you missing the oneOf rule before the use one?
Hi, I'm trying to add the webpack 5 beta but I have this error on compilation:
Maybe are you missing the
oneOf
rule before theuse
one?