Skip to content

Commit

Permalink
feat: import all from alita
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohuoni committed Aug 24, 2021
1 parent e2d0a84 commit 9d41927
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/alita/index.esm.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from '@@/core/umiExports';
export * from 'umi';
9 changes: 7 additions & 2 deletions packages/alita/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
const umi = require('umi');

let umi = require('umi');
try {
const umiExports = require('@@/core/umiExports');
umi = Object.assign(umi, umiExports);
console.log('********************************')
console.log(umi)
} catch (e) {}
module.exports = umi;

0 comments on commit 9d41927

Please sign in to comment.