g6/gatsby-browser.js
2020-09-24 11:08:10 +08:00

5 lines
243 B
JavaScript

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