WebixJet + Vite + Typescript - How to setup without CDN ressources

How can I configure my Webix Jet application in a Vite + TypeScript environment so that no CDN resources (webix.js/webix.css) are required? Unfortunately, manually downloading them is not an option.

<!DOCTYPE html>
<html lang="en">
	<meta charset="utf-8">
	<script type="text/javascript" src="//cdn.webix.com/edge/webix.js"></script>
	<link rel="stylesheet" type="text/css" href="//cdn.webix.com/edge/webix.css">

maybe this can be of help? Installation via NPM. Though it’s still advised to have webix as a global variable. Either create window.webix or, if Vite allows for configuring global variables otherwise, make it so.