shellscape / jsx-email

Build emails with a delightful DX
https://jsx.email
MIT License
895 stars 28 forks source link

feat(jsx-email,app-preview)!: support tsconfig and jsconfig path aliases in preview #159

Closed shellscape closed 5 months ago

shellscape commented 5 months ago

Component / Package Name:

This PR contains:

Are tests included?

Breaking Changes?

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: resolves https://github.com/shellscape/jsx-email/discussions/129

Description

This PR adds automatic alias support for tsconfig.json (and jsconfig.json) paths https://www.typescriptlang.org/tsconfig#paths in the preview app.

BREAKING CHANGES: This alters default alias paths in the app-preview and jsx-email packages.