Fails when tsconfig.json with "extends" is used
Since workspace-pack calls yarn build inside the _build directory it's possible that this will fail if the package contains a tsconfig.json file that refers to another tsconfig.json file in the workspace' root directory. I think the folder hierarchy inside the _build directory should equal the one in the actual workspace.
@tamagokun Sorry for bothering, but did you had a chance to take a look?
Best, Alex
ahh, interesting, so if the structure was _build > package_name > ... instead of just _build > ... it should work, right?
Exactly :)
@tamagokun Another way of solving this would be to provide the intermediate _build directory as command line argument like workspace-pack --build-dir=./_build/package-name package-name.
That would also help if the _build folder is already used by other stuff.
yeah, good idea, actually, i'll add that in and a --output option from another issue.
@alex-lmi i've added a --build-dir cli flag to 0.0.6. You should be able to specify where you'd like the build to go now. Going to close this now, but let me know if it's not working for you.