-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Option targets
is omitted when prepackageOnly
is true
#125
Comments
I think this separation can be amended now (as if: removing the else clause so it will be always invoked). |
--platform is also ignored, if prepackageOnly is true... |
Should be fixed on v12.0.0-beta.3. |
It seems that it is not possible to package an application for multiple targets (the 'dir' and 'targets' options cannot be provided togather). |
nx-electron/src/builders/package/package.impl.ts
Line 176 in b1587cd
"omitting
targets
whenprepackageOnly
is true" sounds like a undocumented side-effect-- It took me sometime to figure out by debugging.
May I know the reason of the behavior?
And would it be reasonable to update the doc(I can do it if it'll be confirmed)?
@bennymeg
The text was updated successfully, but these errors were encountered: