Skip to content

Commit

Permalink
Unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaub committed Aug 31, 2022
1 parent e87aae2 commit 9df7970
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,4 @@ export default {
cjs(),
production && terser()
],
onwarn: function(warning, superOnWarn) {
/*
* skip certain warnings
* https://github.com/openlayers/openlayers/issues/10245
*/
if (warning.code === 'THIS_IS_UNDEFINED') {
return;
}
superOnWarn(warning);
}
};

0 comments on commit 9df7970

Please sign in to comment.