UNPKG

@ebay/ebayui-core

Version:

Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps.

21 lines (19 loc) 635 B
const lassoLoader = require("lasso-loader"); module.exports = { load: function () { return new Promise((resolve, reject) => { lassoLoader.async(function (err) { if (err) reject(err); else { const highcharts = require("highcharts"); require("highcharts/modules/accessibility"); require("highcharts/modules/pattern-fill"); window.Highcharts = highcharts; resolve({ highcharts }); } }); }); }, };