diff --git a/bundle/g2.full.ts b/bundle/g2.full.ts deleted file mode 100644 index 9c66623cc5..0000000000 --- a/bundle/g2.full.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { corelib, plotlib, graphlib, geolib, stdlib } from '../src/lib'; -import { extend, Runtime } from '../src/api'; -import { API, CompositionAPI } from '../src/api/extend'; -import { G2Spec } from '../src/spec'; - -export * from '../src/exports'; - -/** - * G2 full library initial all the libs, include 3D and auto. - */ -const library = { ...stdlib() }; - -export const Chart = extend(Runtime, library); -export interface Chart extends API {} -export interface CompositionNode extends CompositionAPI {} - -export { corelib, plotlib, graphlib, geolib, stdlib }; diff --git a/package.json b/package.json index 53ea2983f2..58d447c36c 100644 --- a/package.json +++ b/package.json @@ -158,11 +158,6 @@ "path": "dist/g2.lite.min.js", "limit": "240 Kb", "gzip": true - }, - { - "path": "dist/g2.full.min.js", - "limit": "350 Kb", - "gzip": true } ], "author": { diff --git a/rollup.config.js b/rollup.config.js index 0c808c3ec2..4880c79619 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -13,7 +13,6 @@ const Bundles = [ // [input, output, name] ['bundle/g2.std.ts', 'dist/g2.min.js', 'G2'], ['bundle/g2.lite.ts', 'dist/g2.lite.min.js', 'G2'], - ['bundle/g2.full.ts', 'dist/g2.full.min.js', 'G2'], ]; export default [