Skip to content

Commit

Permalink
feat: export version
Browse files Browse the repository at this point in the history
  • Loading branch information
xuying.xu committed Sep 12, 2024
1 parent ca3e2da commit 9f50927
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/f2/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ export * from '@antv/f-engine';
export { default as Chart, ChartProps } from './chart';
export { Scale, ScaleConfig } from './deps/f2-scale/src';
export * from './components';

import info from '../package.json';
export default { version: info?.version };

0 comments on commit 9f50927

Please sign in to comment.