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

Configurable Build Options #8

Open
unibeck opened this issue Apr 23, 2024 · 1 comment
Open

Configurable Build Options #8

unibeck opened this issue Apr 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@unibeck
Copy link
Contributor

unibeck commented Apr 23, 2024

Currently when you run nuxthub deploy it ends up running nuxi build --preset=cloudflare-pages. It would be helpful to be able to pass other nuxi build options such as --dotenv .dev.vars to the build command when running nuxthub deploy.

A couple of ideas on implementation:

  1. Use nuxt.config.js hub option
hub: {
  extraBuildOpts: ['--dotenv .dev.vars']
},
  1. Allow pass through from nuxthub cli
    nuxthub deploy --dotenv .preview.vars
unibeck added a commit to unibeck/nuxt-hub-cli that referenced this issue Apr 23, 2024
@atinux
Copy link
Collaborator

atinux commented Apr 26, 2024

Related to #5

@atinux atinux added the enhancement New feature or request label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants