小编Nam*_*lex的帖子

监视忽略插件已使用与 API 架构不匹配的选项对象进行初始化

Webpack: Starting ...
ui/node_modules/schema-utils/dist/validate.js:104
    throw new _ValidationError.default(errors, schema, configuration);
    ^

ValidationError: Invalid options object. Watch Ignore Plugin has been initialized using an options object that does not match the API schema. {
  schema: {
    title: 'WatchIgnorePluginOptions',
    type: 'object',
    additionalProperties: false,
    properties: {
      paths: {
        description: 'A list of RegExps or absolute paths to directories or files that should be ignored.',
        type: 'array',
        items: {
          description: 'RegExp or absolute path to directories or files that should be ignored.',
          anyOf: [ [Object], …
Run Code Online (Sandbox Code Playgroud)

webpack webpack-5

4
推荐指数
1
解决办法
1万
查看次数

标签 统计

webpack ×1

webpack-5 ×1