Skip to content

Commit

Permalink
fix: fix api-extractor does not support the export * as syntax (#1577)
Browse files Browse the repository at this point in the history
  • Loading branch information
NewByVector authored Sep 15, 2020
1 parent d0884b0 commit ca78f98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"site:develop": "cross-env PORT=8080 gatsby develop --open -H 0.0.0.0",
"site:build": "npm run site:clean && gatsby build --prefix-paths",
"site:clean": "gatsby clean",
"site:deploy": "npm run site:build && gh-pages -d public",
"site:deploy": "npm run build && npm run site:build && gh-pages -d public",
"fix": "eslint --ext .ts ./src ./__tests__ --fix && prettier --write ./src ./__tests__ && lint-md --fix ./examples",
"build": "run-s clean lib dist size",
"size": "limit-size",
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
export const version = '2.0.0-beta.4';

// G2 自定义能力透出
export * as G2 from '@antv/g2';
import * as G2 from '@antv/g2';
export { G2 };

/** G2Plot 的 Plot 基类 */
export { Plot } from './core/plot';
Expand Down

0 comments on commit ca78f98

Please sign in to comment.