Build failing because a ".min" file

Hello,

I’m trying to build a project where there is an “already minified” file, and it’s called “mermaid.min.js” ( See Mermaidjs to know what this file contains, but I believe it’s irrelevant to solve the problem ).

In the documentation there is a mention to the fact that any “.min” file will be ignored but… when I compile, I get an error message as there is a Syntax error in that file, and the building process fails. I’m pretty sure this is just a “javascript version” issue, and I would like this file “just” ignored.

How can I do that?

Thanks!