Webix+Electron+Webpack

Hallo!
I want to use Webix inside my electron app. To build my browser side part I use Webpack, and bundle compiled script to the page. Everything works good, except getting the notification every time I start my app: “Please open sample by http, not as file://”
So, in what proper way should I bundle Webix to a project to make it not to show that notification?

Hello, @proudbird

In your case, this message is a harmless standard warning. It will be debugged if document.location.href contains a file: substring, as this is important for regular web pages. But Electron builds the application according to its own rules, and this message can be ignored here.
We still recommend using the [debug version] (How to Debug of Getting Started, Start Coding with Webix Webix Docs) during the development process. But if you connect webix.min.js (production version of the script), this warning will disappear along with other debugging features.
The only thing you should do is to change cdn link to:
webix.js - is a not compressed version with debug message
webix.min.js - is a compressed version without debug messages