g6/gatsby-browser.js
2020-08-17 18:50:55 +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');