Fix rollup warning filter typo
Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com>
This commit is contained in:
Родитель
76a95d7b84
Коммит
b4be0340a9
|
@ -16,7 +16,7 @@ export default {
|
|||
if (warning.code === "CIRCULAR_DEPENDENCY") {
|
||||
// filter out warnings about circular dependencies out of our control
|
||||
for (const each of ["node_modules/semver"]) {
|
||||
if (warning.importer.indexOf(path.normalize(each) === 0)) {
|
||||
if (warning.importer.includes(path.normalize(each))) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче