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

prevent esbuild when building from Pro #189

Merged
merged 1 commit into from
Jul 7, 2023
Merged

Conversation

TimPurdum
Copy link
Collaborator

Refactor to support Pro package, prevent double-build/bundle of JS

@TimPurdum TimPurdum requested review from seahro and AndersenBell July 7, 2023 18:51
@TimPurdum TimPurdum self-assigned this Jul 7, 2023
Copy link
Collaborator

@AndersenBell AndersenBell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

</ItemGroup>

<Target Name="NPM Install" BeforeTargets="PreBuildEvent" Condition="$(TargetFrameworks.StartsWith($(TargetFramework)))">
<Target Name="NPM Install" BeforeTargets="PreBuildEvent" Condition="$(TargetFrameworks.StartsWith($(TargetFramework))) AND '$(OptOutFromCoreEsBuild)' != 'true'">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does OptOutFromCoreEsBuild need to be set anywhere in this project? or will it default to true?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It defaults to false, which we want here because normally you want all this to run. It is only true when running from the Pro repository, where this will be set to true to skip these steps.

@TimPurdum TimPurdum merged commit 6648fa7 into develop Jul 7, 2023
@TimPurdum TimPurdum deleted the feature/179_pro_beta branch July 7, 2023 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants