g6/packages/site/gatsby-browser.js
2020-12-14 12:03:28 +08:00

5 lines
235 B
JavaScript

// window.g6 = require('./src/index.ts'); // import the source for debugging
window.g6 = require('@antv/g6'); // import the package for webworker
window.insertCss = require('insert-css');
window.Chart = require('@antv/chart-node-g6');