antv-l7/gatsby-browser.js

22 lines
889 B
JavaScript

require('./site/css/demo.css');
require('./packages/component/src/css/l7.css');
require('antd/dist/antd.less');
window.geotiff = require('geotiff');
window.g2 = require('@antv/g2');
window.l7 = require('@antv/l7');
window.l7Mini = require('@antv/l7-mini');
window.l7MiniMap = require('@antv/l7-maps/lib/map');
window.l7Maps = require('@antv/l7-maps');
window.l7plot = require('@antv/l7plot');
window.l7React = require('@antv/l7-react');
window.l7Draw = require('@antv/l7-draw');
window.l7District = require('@antv/l7-district');
window.l7Three = require('@antv/l7-three');
window.three = require('three');
window.GLTFLoader = require('three/examples/jsm/loaders/GLTFLoader');
window.FBXLoader = require('three/examples/jsm/loaders/FBXLoader');
window.react = require('react');
window.popmotion = require('popmotion');
window.reactDom = require('react-dom');
window.antd = require('antd');