CSP: Remove global this in webpack

Also refactor how we handle global namespace objects.

Fixes CODEOCEAN-DV
This commit is contained in:
Sebastian Serth
2022-11-16 16:44:23 +01:00
parent e0bce2071e
commit b9f3126f21
3 changed files with 6 additions and 17 deletions

View File

@ -1,7 +1,7 @@
/* eslint no-console:0 */
// JS
import 'vis'
import * as vis from 'vis';
window.vis = vis;
// CSS