diff --git a/packages/f2/src/index.ts b/packages/f2/src/index.ts index 0353d4a0f..0f6eb4e47 100644 --- a/packages/f2/src/index.ts +++ b/packages/f2/src/index.ts @@ -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 };