Skip to content

Commit

Permalink
chore: add tao.def-basic-kit to extensionDeps (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
luhc228 authored Sep 28, 2021
1 parent bc28143 commit 916b51e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
13 changes: 7 additions & 6 deletions scripts/o2/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ export const innerExtensions4pack = [
];

const otherExtensions: OtherExtension[] = [
{
packageName: '@ali/publish-visual',
assetsFolders: ['icons', 'resource'],
isActiveNode: true,
isActiveBrowser: true,
},
// add tao.def-basic-kit the to extensionDependencies instead of @ali/publish-visual
// {
// packageName: '@ali/publish-visual',
// assetsFolders: ['icons', 'resource'],
// isActiveNode: true,
// isActiveBrowser: true,
// },
];

export const otherExtensions4pack = otherExtensions.map((otherExtension4pack) => (
Expand Down
8 changes: 5 additions & 3 deletions scripts/o2/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"nodeMain": "./out/node/index.js",
"browserMain": "./out/browser/index.js",
"includes": [
"iceworks-team.iceworks-time-master",
"tao.def-basic-kit"
"iceworks-team.iceworks-time-master"
],
"toolbar": {
"actions": [
Expand All @@ -53,5 +52,8 @@
}
]
}
}
},
"extensionDependencies": [
"tao.def-basic-kit"
]
}

0 comments on commit 916b51e

Please sign in to comment.