From 560c8fd4e4031a97163badb85894533a1fdc037b Mon Sep 17 00:00:00 2001 From: "yuqi.pyq" Date: Tue, 26 Nov 2019 19:28:44 +0800 Subject: [PATCH] fix(map): export l7-maps in CDN bundle --- packages/l7/package.json | 1 + packages/l7/package_bak.json | 32 -------------------------------- packages/l7/src/index.ts | 1 + 3 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 packages/l7/package_bak.json diff --git a/packages/l7/package.json b/packages/l7/package.json index 24ad426fc2..9371d5d52e 100644 --- a/packages/l7/package.json +++ b/packages/l7/package.json @@ -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", diff --git a/packages/l7/package_bak.json b/packages/l7/package_bak.json deleted file mode 100644 index 7eb4d32924..0000000000 --- a/packages/l7/package_bak.json +++ /dev/null @@ -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" - } -} diff --git a/packages/l7/src/index.ts b/packages/l7/src/index.ts index 71410257e9..4bdf44e1ec 100644 --- a/packages/l7/src/index.ts +++ b/packages/l7/src/index.ts @@ -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';