Layer names and other string props were written into JSX attributes verbatim. A `"` closed the attribute and let the rest of the name add props or expression containers, which `render` and `replace` then evaluate. Sucrase also decodes `&` entities in attribute strings, so names containing entities changed on a round trip. Strings containing `"` or `&` are now written as expression containers holding a JavaScript string literal. Tailwind JSX export uses the same helper for `data-name` and `className`. |
||
|---|---|---|
| .. | ||
| assets | ||
| src | ||
| package.json | ||
| tsconfig.json | ||
| tsdown.config.ts | ||