Skip to content

@cloudflare/next-on-pages@1.8.2

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Dec 19:25
· 114 commits to main since this release
0c2c2fa

Patch Changes

  • 8fe72f1: make CLI arguments parsing more flexible

    prior to this change the CLI arguments parsing was not too flexible and forced a specific style

    For instance the only way to provide an argument for the outdir option was to pass it using = as in:

    -o=./my-dir
    

    or

    --outdir=./my-dir
    

    these changes make the CLI arguments parsing more flexible and don't enforce a specific style
    (--outdir ./my-dir now also works as you'd expect it to)

  • 20d0e0d: Fix _not-found functions only for applications using the App Router

    In #418 we introduced a workaround
    that would delete invalid (nodejs) _not-found functions during the build process

    Although the workaround is valid for applications using the App Router it is not
    for applications only using the Pages Router, so make sure that it is only applied
    when the former is used