Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目打包时报错:no such file or directory, open 'dist/package.json' #32

Open
khawa-angx opened this issue Sep 6, 2022 · 1 comment
Labels

Comments

@khawa-angx
Copy link

tsrpc.config

{
proto: [
{
ptlDir: "src/procedures/protocols",
output: "src/procedures/protocols/service-proto.ts",
apiDir: "src/procedures/api",
docDir: "src/procedures/docs",
ptlTemplate: { baseFile: "src/procedures/protocols/base.ts" },
},
],
sync: [],
dev: {
autoProto: true,
autoSync: true,
autoApi: true,
watch: "src",
entry: "src/procedures/backend.ts",
},
build: {
autoProto: true,
autoSync: true,
autoApi: true,
outDir: ".procedures",
},
};

@k8w k8w added the bug label Sep 6, 2022
@k8w
Copy link
Owner

k8w commented Sep 6, 2022

可以先不修改 build.outDir 选项,经确认修改 outDir 时会有问题,下个版本修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants