mirror of https://gitee.com/antv-l7/antv-l7
feat: add l7-three father umd build config (#1361)
* fix: 修复 featureScale 错误 * style: lint style * fix: remove featureScalePlugin async * feat: add l7-three father/umd * feat: remove depecenied lib Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
This commit is contained in:
parent
7fcbb6e9fe
commit
d491784c26
|
@ -6,6 +6,13 @@ export default {
|
|||
cjs: {
|
||||
output:'lib'
|
||||
},
|
||||
umd: {
|
||||
output: 'dist',
|
||||
externals: {
|
||||
"@antv/l7": "L7",
|
||||
"three": "Three"
|
||||
},
|
||||
},
|
||||
autoprefixer: {
|
||||
browsers: ['IE 11', 'last 2 versions'],
|
||||
},
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"license": "ISC",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
"unpkg": "dist/l7-tree.js",
|
||||
"unpkg": "dist/l7-three.min.js",
|
||||
"types": "es/index.d.ts",
|
||||
"directories": {
|
||||
"lib": "lib",
|
||||
|
@ -44,9 +44,7 @@
|
|||
},
|
||||
"homepage": "https://github.com/antvis/L7#readme",
|
||||
"dependencies": {
|
||||
"@antv/l7-core": "2.9.29",
|
||||
"@antv/l7-layers": "2.9.29",
|
||||
"@antv/l7-scene": "2.9.29",
|
||||
"@antv/l7": "2.9.29",
|
||||
"@babel/runtime": "^7.7.7",
|
||||
"inversify": "^5.0.1",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import { ILayer, IMercator, ISourceCFG } from '@antv/l7-core';
|
||||
import { BaseLayer } from '@antv/l7-layers';
|
||||
import { ILayer, IMercator, ISourceCFG, BaseLayer } from '@antv/l7';
|
||||
import {
|
||||
AnimationMixer,
|
||||
Matrix4,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Scene } from '@antv/l7-scene';
|
||||
import { Scene } from '@antv/l7';
|
||||
import {
|
||||
IThreeRenderService,
|
||||
ThreeRenderService,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { IMapService, IMercator, IRendererService, TYPES } from '@antv/l7-core';
|
||||
import { IMapService, IMercator, IRendererService, TYPES } from '@antv/l7';
|
||||
import { inject, injectable } from 'inversify';
|
||||
import 'reflect-metadata';
|
||||
|
||||
|
|
Loading…
Reference in New Issue