fix: outdated theme versions

This commit is contained in:
afc163 2020-09-02 18:24:23 +08:00
parent be52b1b738
commit 7eb0d0e705
5 changed files with 578 additions and 1078 deletions

View File

@ -40,11 +40,11 @@ module.exports = api => {
return {
presets: [
[
'@babel/env',
'@babel/preset-env',
{
// https://babeljs.io/docs/en/babel-preset-env#usebuiltins
// useBuiltIns: 'usage',
...isCDNBundle ? { corejs: '3.0.0' } : {},
...isCDNBundle ? { corejs: 3 } : {},
useBuiltIns: isCDNBundle ? 'usage' : false,
// set `modules: false` when building CDN bundle, let rollup do commonjs works
// @see https://github.com/rollup/rollup-plugin-babel#modules

View File

@ -7,7 +7,7 @@
},
"devDependencies": {
"@antv/g2": "^3.5.9",
"@antv/gatsby-theme-antv": "0.10.59",
"@antv/gatsby-theme-antv": "^0.10.71",
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-decorators": "^7.6.0",
@ -50,7 +50,7 @@
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"babel-plugin-transform-node-env-inline": "^0.4.3",
"babel-plugin-transform-postcss": "^0.3.0",
"babel-preset-gatsby": "^0.4.1",
"babel-preset-gatsby": "^0.5.8",
"babel-template": "^6.26.0",
"clean-webpack-plugin": "^3.0.0",
"commitizen": "^4.0.3",

View File

@ -1,4 +1,4 @@
import { Map } from '@antv/l7-map';
import { Map } from '@antv/l7-maps';
import BaseMapWrapper from '../BaseMapWrapper';
import MapboxService from './map';
export default class MapboxWrapper extends BaseMapWrapper<Map> {

View File

@ -18,7 +18,7 @@ import {
MapStyle,
TYPES,
} from '@antv/l7-core';
import { Map } from '@antv/l7-map';
import { Map } from '@antv/l7-maps';
import { DOM } from '@antv/l7-utils';
import { mat4, vec2, vec3 } from 'gl-matrix';
import { inject, injectable } from 'inversify';

1644
yarn.lock

File diff suppressed because it is too large Load Diff