Skip to content

"warningIgnorePattern" does not cover all warnings #195

@cbcode1

Description

@cbcode1

Describe the bug
In the automaton widget, it seems as if the "warningIgnorePattern" in the editing-config.json only applies to warnings produced by the widget itself, not those of dependencies.

To Reproduce
Steps to reproduce the behavior:

  1. Open the folder of the automaton widget and build it.
  2. Notice how even though "warningIgnorePattern" is set to "development", the warning "You're running a development build." thrown by vis.js dependencies appears when building the widget.
  3. Insert console.warn("hello development") somewhere in the code and notice how this warning is indeed ignored.

Desktop (please complete the following information):

  • OS: Windows 11
  • WebWriter Version 1.9.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions