Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Qlik-Community,
is there any possibility to load a es6 Module like shown below as a dependency in a Qlik Sense Extension?
import { module1, module2 } from 'lib';
export function diag(x, y) {
return sqrt(square(x) + square(y));
}Right now only dependencies as a AMD Module can be loaded like this:
define(['module1', ',module2'], function(module1, module2) {
console.log(module1.setName());
});Best regards,
Frank
Hi,
That's not possible today, you would need to transpile that to UMD or AMD format