Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Experimental Next.js Params #19952

Closed
drmartin1998 opened this issue Oct 31, 2023 · 1 comment · Fixed by #20836
Closed

Support Experimental Next.js Params #19952

drmartin1998 opened this issue Oct 31, 2023 · 1 comment · Fixed by #20836
Assignees
Labels
outdated scope: nextjs Issues related to NextJS support for Nx type: feature

Comments

@drmartin1998
Copy link

Description

Next.js is introducing experimental features passed as arguments to Next.js through the command line when starting a Next.js project. Currently Nx only supports a small set of arguments for Next.js. This request is to allow for any argument to be passed when running Next.js.

Motivation

Teams who wish to prepare for upcoming Next.js features have no way to test experimental features. Additionally, teams may want to implement experimental features. Nx should not be opinionated on what features of Next.js teams should use.

Suggested Implementation

Add an 'additionalArguments' entry to the executor configuration in project.json.

"configurations": {
        "development": {
          "buildTarget": "nextjs:build:development",
          "dev": true,
         "additionalArguments": ['experimental-https']
        },

Alternate Implementations

Explicitly support experimental features as other arguments are supported today.

Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: nextjs Issues related to NextJS support for Nx type: feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants