g6/packages/site/.dumi/global.ts
Aaron 0b89bf7f86
refactor: adjust site demos (#5217)
* refactor: remove unused demos

* refactor: adjust onresize handle

* refactor: update 3d data resource

* docs: update demos imports

* refactor: handle resize uniformly and import module name

* fix: fix issue that demo cannot get container

* refactor: remove unused demos of algorithm and case
2023-12-04 14:42:33 +08:00

17 lines
746 B
TypeScript

if (window) {
// window.g6 = require('@antv/g6/es'); // import the source for debugging
window.g6 = require('@antv/g6/lib'); // import the source for debugging
window.layoutGpu = require('@antv/layout-gpu'); // import the source for debugging
window.algorithm = require('@antv/algorithm');
window.layoutWasm = require('@antv/layout-wasm'); // import the source for debugging
window.graphlib = require('@antv/graphlib');
window.g6PluginMapView = require('@antv/g6-plugin-map-view');
// window.g6 = require('@antv/g6/diFst/g6.min.js'); // import the package for webworker
window.insertCss = require('insert-css');
window.util = require('@antv/util');
window.stats = require('stats.js');
window.g2 = require('@antv/g2');
}