Skip to content

chore(repo): add JSX_DEV_LOCAL for local preview dev#267

Merged
shellscape merged 1 commit intomainfrom
chore/jsx-email/preview-dev-local
Dec 14, 2024
Merged

chore(repo): add JSX_DEV_LOCAL for local preview dev#267
shellscape merged 1 commit intomainfrom
chore/jsx-email/preview-dev-local

Conversation

@shellscape
Copy link
Copy Markdown
Owner

Component / Package Name: jsx-email

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

Description

Introduces support for JSX_DEV_LOCAL which instructs the preview to point vite at apps/preview instead of the local preview app source in packages/jsx-email/dist. Used for local development of the preview app within the repo only.

Example usage: JSX_DEV_LOCAL=true moon demo:dev

@shellscape shellscape merged commit cf99078 into main Dec 14, 2024
@shellscape shellscape deleted the chore/jsx-email/preview-dev-local branch December 14, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant