you can view the file yourself at: https://cdn.jsdelivr.net/npm/@xeokit/xeokit-sdk@2.0.0-beta.17/dist/xeokit-sdk.es.min.js
I was finally able to import it
It turns out xeokit had this
XKTLoaderPlugin.js
getProperties: async (propertiesId) => {
return await this._dataSource.getProperties(src, propertiesId);
}
and frappe DOES NOT support the arrow syntax
i simply had to make it
getProperties: async function(propertiesId) {
return await this._dataSource.getProperties(src, propertiesId);
}
and that made it work
BUT
I’ve read that frappe support ES6, so why isn’t ES6 syntax working ?