fix(core): 配置 publishConfig.directory 确保从 dist 目录发布
This commit is contained in:
5
.changeset/fix-publish-directory.md
Normal file
5
.changeset/fix-publish-directory.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@esengine/ecs-framework": patch
|
||||
---
|
||||
|
||||
fix(core): 修复 npm 发布目录配置,确保从 dist 目录发布以保持与 Cocos Creator 的兼容性
|
||||
@@ -70,7 +70,8 @@
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"registry": "https://registry.npmjs.org/"
|
||||
"registry": "https://registry.npmjs.org/",
|
||||
"directory": "dist"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user