triplex icon indicating copy to clipboard operation
triplex copied to clipboard

Dangling exports don't currently work

Open itsdouges opened this issue 2 years ago • 0 comments

Any component export that looks like:

function Box() {}

export { Box };

Doesn't currently work. Areas to fix:

  • getJsxElementsPositions (packages/@triplex/server/src/ast/jsx.ts)
  • getJsxElementParentExportNameOrThrow (packages/@triplex/server/src/ast/jsx.ts)
  • maybe more.

Look for the todo tests.

itsdouges avatar Dec 01 '23 10:12 itsdouges