diff --git a/packages/vantui/package.json b/packages/vantui/package.json index f360c8e0..54e9dd86 100644 --- a/packages/vantui/package.json +++ b/packages/vantui/package.json @@ -2,7 +2,7 @@ "name": "@antmjs/vantui", "version": "3.7.0", "main": "lib/index.js", - "module": "es/index.esm.js", + "module": "es/index.js", "style": "lib/index.css", "typings": "types/index.d.ts", "author": "三少 ", @@ -75,4 +75,4 @@ "style-resources-loader": "^1.5.0", "swc-loader": "^0.2.3" } -} \ No newline at end of file +} diff --git a/packages/vantui/src/cell-group/index.tsx b/packages/vantui/src/cell-group/index.tsx index bb60e912..447ab829 100644 --- a/packages/vantui/src/cell-group/index.tsx +++ b/packages/vantui/src/cell-group/index.tsx @@ -5,7 +5,7 @@ import { get } from '../default-props' const d = get().CellGroup || {} -function CellGroup(props: CellGroupProps) { +export function CellGroup(props: CellGroupProps) { const { inset, title,