Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix rollup warning for this
  • Loading branch information
rmorshea committed Jul 20, 2021
commit 2091408a3740c1ea697653fe1b061fcc50c232c8
11 changes: 11 additions & 0 deletions tests/js/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,15 @@ export default {
),
}),
],
onwarn: function (warning) {
// Skip certain warnings

// should intercept ... but doesn't in some rollup versions
if (warning.code === "THIS_IS_UNDEFINED") {
return;
}

// console.warn everything else
console.warn(warning.message);
},
};