Skip to content
Snippets Groups Projects
Commit 927a3aa5 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Remove warning suppression code for keycloak-js

We no longer bundle keycloak-js with rollup so we can remove those
special cases.
parent 2148d421
No related branches found
No related tags found
No related merge requests found
Pipeline #13539 passed
......@@ -144,10 +144,6 @@ export default {
if (warning.code === 'CIRCULAR_DEPENDENCY') {
return;
}
// keycloak bundled code uses eval
if (warning.code === 'EVAL') {
return;
}
warn(warning);
},
watch: {
......
......@@ -26,10 +26,6 @@ export default (async () => {
if (warning.code === 'CIRCULAR_DEPENDENCY') {
return;
}
// keycloak bundled code uses eval
if (warning.code === 'EVAL') {
return;
}
warn(warning);
},
plugins: [
......
......@@ -24,10 +24,6 @@ export default (async () => {
sourcemap: true
},
onwarn: function (warning, warn) {
// keycloak bundled code uses eval
if (warning.code === 'EVAL') {
return;
}
// ignore chai warnings
if (warning.code === 'CIRCULAR_DEPENDENCY') {
return;
......
......@@ -33,10 +33,6 @@ export default (async () => {
if (warning.code === 'CIRCULAR_DEPENDENCY') {
return;
}
// keycloak bundled code uses eval
if (warning.code === 'EVAL') {
return;
}
warn(warning);
},
watch: {
......
......@@ -24,10 +24,6 @@ export default (async () => {
sourcemap: true
},
onwarn: function (warning, warn) {
// keycloak bundled code uses eval
if (warning.code === 'EVAL') {
return;
}
warn(warning);
},
plugins: [
......
......@@ -24,10 +24,6 @@ export default (async () => {
sourcemap: true
},
onwarn: function (warning, warn) {
// keycloak bundled code uses eval
if (warning.code === 'EVAL') {
return;
}
warn(warning);
},
plugins: [
......
......@@ -52,10 +52,6 @@ export default (async () => {
sourcemap: true
},
onwarn: function (warning, warn) {
// keycloak bundled code uses eval
if (warning.code === 'EVAL') {
return;
}
warn(warning);
},
plugins: [
......
......@@ -25,10 +25,6 @@ export default (async () => {
sourcemap: true
},
onwarn: function (warning, warn) {
// keycloak bundled code uses eval
if (warning.code === 'EVAL') {
return;
}
warn(warning);
},
plugins: [
......
......@@ -24,10 +24,6 @@ export default (async () => {
sourcemap: true
},
onwarn: function (warning, warn) {
// keycloak bundled code uses eval
if (warning.code === 'EVAL') {
return;
}
warn(warning);
},
plugins: [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment