Skip to content

[FR]: Transitions on compilation modes for npm packages #2574

@stoiky

Description

@stoiky

What is the current behavior?

When building with different compilation modes users will download/extract npm packages for each one. When they use different compilation modes, there's no transition in place for external packages so users actually get at least 3 layouts of third party packages.

Describe the feature

We have a set up where cpp developers would use -c dbg and other teams might do -c opt for various reasons, but mostly they would always default on fastbuild.

As with pnpm workspaces we might want custom control over js_library(pkg) for external packages it would be great to always transition to one particular compilation mode (maybe opt as the default?)

Pending issues:

Metadata

Metadata

Assignees

Labels

engagement noterelated to an Aspect engagementenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions