这是indexloc提供的服务,不要输入任何密码
Skip to content

Allow repository root build directories. #497

@MIreland

Description

@MIreland

Describe the feature you'd like to request

Our monorepo is setup to place all build artifacts in a centralized build directory.

/apps
  /app-1
    /src
      - index.ts
  /app-2
    /src
      - index.ts
   ...etc
/build
  /app-1
    - index.js
    - other.js
  /app-2
    - index.js
    - other.js  
  ...etc

It doesn't seem like the outputs directory is supporting root directory build options- I've tried a number of permutations of ../../builds/**/*, etc.

We would like to maintain our centralized build location while taking advantage of turborepo.

Describe the solution you'd like

I would like to be able to provide an outputs glob that processes parent directories, or to have a flag/setting to determine if outputs are relative to the package or the repo root.

Describe alternatives you've considered

If outputs does not allow us to access items from the monorepo root, we will need to make substantial internal infrastructure changes to support a different pattern of build outputs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions