fix(map): export l7-maps in CDN bundle

This commit is contained in:
yuqi.pyq 2019-11-26 19:28:44 +08:00
parent 59a68fc36c
commit 560c8fd4e4
3 changed files with 2 additions and 32 deletions

View File

@ -26,6 +26,7 @@
"@antv/l7-component": "^2.0.0-beta.10",
"@antv/l7-core": "^2.0.0-beta.10",
"@antv/l7-layers": "^2.0.0-beta.10",
"@antv/l7-maps": "^2.0.0-beta.10",
"@antv/l7-scene": "^2.0.0-beta.10"
},
"gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae",

View File

@ -1,32 +0,0 @@
{
"name": "@antv/l7",
"version": "2.0.0-beta.8",
"description": "A Large-scale WebGL-powered Geospatial Data Visualization",
"main": "dist/l7.js",
"sideEffects": true,
"files": [
"dist",
"lib",
"es",
"README.md"
],
"scripts": {
"tsc": "tsc --project tsconfig.build.json",
"clean": "rimraf dist; rimraf es; rimraf lib;",
"build": "run-p build:*",
"build:cjs": "BABEL_ENV=cjs babel src --root-mode upward --out-dir lib --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments",
"build:esm": "BABEL_ENV=esm babel src --root-mode upward --out-dir es --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments",
"watch": "BABEL_ENV=cjs babel src --watch --root-mode upward --out-dir lib --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments"
},
"author": "antv",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@l7/core": "0.0.1",
"@l7/scene": "0.0.1",
"@l7/layers": "0.0.1",
"@l7/component": "0.0.1"
}
}

View File

@ -1,4 +1,5 @@
export * from '@antv/l7-core';
export * from '@antv/l7-scene';
export * from '@antv/l7-maps';
export * from '@antv/l7-layers';
export * from '@antv/l7-component';