Skip to content

Commit 1bd4bc5

Browse files
committed
fix ci issues
1 parent d32cbec commit 1bd4bc5

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"@rollup/plugin-node-resolve": "^15.2.3",
8888
"chai": "^4.3.7",
8989
"codecov": "^3.8.3",
90-
"copy-files-from-to": "^3.9.0",
90+
"copy-files-from-to": "3.8.1",
9191
"eslint": "^8.9.0",
9292
"jsdoc": "^3.6.10",
9393
"karma": "^6.4.2",

rollup.config.browser.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const builds = {
88
'@mediapipe/selfie_segmentation'
99
],
1010

11-
// ✅ loglevel "this is undefined" uyarısını yut
11+
// ✅ loglevel "this is undefined" warning
1212
onwarn(warning, warn) {
1313
if (
1414
warning.code === 'THIS_IS_UNDEFINED' &&

rollup.config.module.cjs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,18 @@ const builds = {
3232
nodeResolve(),
3333
commonjs(),
3434
css()
35-
]
35+
],
36+
// ✅ loglevel "this is undefined" warning
37+
onwarn(warning, warn) {
38+
if (
39+
warning.code === 'THIS_IS_UNDEFINED' &&
40+
warning.id &&
41+
warning.id.includes('loglevel.min.js')
42+
) {
43+
return;
44+
}
45+
warn(warning);
46+
},
3647

3748
};
3849

0 commit comments

Comments
 (0)