Skip to content

Commit

Permalink
fix: 组件命名去掉__
Browse files Browse the repository at this point in the history
  • Loading branch information
yangchch6 committed Jun 1, 2020
1 parent da65c49 commit 7d05f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const publish = () => {

function replacePackageName (packageJson, manifestJson) {
const libraryName = manifestJson && manifestJson.name
packageJson.name = `__${libraryName}__`
packageJson.name = `${libraryName}`
return packageJson
}

Expand Down

0 comments on commit 7d05f1c

Please sign in to comment.