Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

What is the ways I have to change dist and build directory location?

default discord avatar
lucianogreiner2 years ago
1

I am trying to build a Payload plugin for NX Monorepo. As this host multiple modules, I need to point dist and build into other directories.

  • discord user avatar
    denolfe
    2 years ago

    For

    build

    output, you can put an absolute path for

    admin.buildPath

    in your config.


    For

    dist

    output, you should adjust your

    tsconfig.json
Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.