Skip to content

Commit

Permalink
feat: umi no support exportAll
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohuoni committed Aug 24, 2021
1 parent 9d41927 commit 2bfd1bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/keep-alive/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ export default (api: IApi) => {

api.addUmiExports(() => [
{
exportAll: true,
specifiers: ['KeepAliveLayout'],
source: `../${RELATIVE_MODEL}`,
},
{
exportAll: true,
specifiers: ['setLayoutInstance', 'getLayoutInstance', 'dropByCacheKey'],
source: `../${join(DIR_NAME, 'KeepAliveModel')}`,
},
]);
Expand Down

0 comments on commit 2bfd1bb

Please sign in to comment.