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

Add preview and functions flags to build command #51

Open
h-enk opened this issue Apr 14, 2021 · 0 comments
Open

Add preview and functions flags to build command #51

h-enk opened this issue Apr 14, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@h-enk
Copy link
Owner

h-enk commented Apr 14, 2021

Summary

Add preview and functions flags to build command.

Basic example

Based on current npm build command (using arguments):

  • hyas build: build production website, including lambda functions
  • hyas build preview: build production website, including draft and future posts, including lambda functions
  • hyas build functions: build lambda functions

Should be:

  • hyas build: build production website
  • hyas build --preview: build production website, including draft and future posts
  • hyas build --functions: build production website, including lambda functions
  • hyas build --preview --functions: build production website, including draft and future posts, including lambda functions

Motivation

Align with (to be updated) npm build command.

@h-enk h-enk added the enhancement New feature or request label Apr 14, 2021
@h-enk h-enk self-assigned this Apr 14, 2021
@h-enk h-enk changed the title Add preview and functions flags to build command Add preview and functions arguments to build command Apr 14, 2021
@h-enk h-enk changed the title Add preview and functions arguments to build command Add preview and functions flags to build command Apr 14, 2021
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

1 participant