incubator-answer icon indicating copy to clipboard operation
incubator-answer copied to clipboard

feat: add build path

Open kuai6 opened this issue 1 year ago • 2 comments

Hello folks. There is the simple PR to add custom build path.

kuai6 avatar Apr 28 '24 13:04 kuai6

@kuai6 The function itself is fine. Can you explain the exact usage scenario? The reason we use MkdirTemp is because it creates a random folder(answer_build4277335726) each time to prevent build exceptions when the same folder is used incorrectly during a build.

LinkinStars avatar Apr 29 '24 02:04 LinkinStars

@kuai6 The function itself is fine. Can you explain the exact usage scenario? The reason we use MkdirTemp is because it creates a random folder(answer_build4277335726) each time to prevent build exceptions when the same folder is used incorrectly during a build.

I want to build the app with plugins on my private env with private npm registry.

I thought this is good idea to make a way to replace some files (like .npmrc) to build the app into private env. But now i figure out it is better to build the app without answer build -with... So this PR still not solve my issue.

kuai6 avatar Apr 29 '24 06:04 kuai6