shellscape / jsx-email

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

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

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. We'll wait to release this along with some other preview changes.

shellscape commented 5 months ago

/cc @theDanielJLewis

shellscape commented 5 months ago

Since this was identified as breaking, we're going to revert main and hold off on this until a few more associated changes are made, which are also breaking.