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

default discord avatar
lucianogreiner
last month
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
    Payload Team
    last month

    For

    build

    output, you can put an absolute path for

    admin.buildPath

    in your config.


    For

    dist

    output, you should adjust your

    tsconfig.json
Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.