g6/gatsby-browser.js

5 lines
243 B
JavaScript
Raw Normal View History

2020-07-28 13:26:47 +08:00
// 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');
2020-08-17 14:51:02 +08:00
window.Chart = require('@antv/chart-node-g6');