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

rollup: only ignore cycle warnings for chai

parent 9eeeec9a
No related branches found
No related tags found
No related merge requests found
Pipeline #23468 passed
......@@ -97,12 +97,8 @@ export default (async () => {
preserveEntrySignatures: false,
// external: ['zlib', 'http', 'fs', 'https', 'url'],
onwarn: function (warning, warn) {
// ignore "suggestions" warning re "use strict"
if (warning.code === 'MODULE_LEVEL_DIRECTIVE') {
return;
}
// ignore chai warnings
if (warning.code === 'CIRCULAR_DEPENDENCY') {
if (warning.code === 'CIRCULAR_DEPENDENCY' && warning.message.includes('/chai/')) {
return;
}
// keycloak bundled code uses eval
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment