Custom build preset (advanced)

    Allows full customization

    create a custom preset - 图2 This is an advanced usage pattern

    You can create your own custom-built preset. See the provided presets for examples.

    You can define everything that a custom preset would configure directly in the Nitro options:

    nuxt.config.js|ts

    Reusable preset

    my-preset/index.ts

    Then in your you can specify that Nitro should use your custom preset:

    nuxt.config.js|ts