SolidJSS
SolidJS2y ago
3 replies
Blankeos

Does the Solid compiler convert JSX to template variables? Know anything about this issue here?

Hi y'all! Does the Solid compiler have anything to do with converting JSX to a template variable in JS? var _tmpl$ = template(...)?

This library I'm using seems to be facing an issue where when it's deployed to npm, it loses the quotes in the template. For instance:

<div class="sonner-loading"/> becomes div class=sonner-loading/>

But locally, it's actually fine after doing pnpm run build

Most of my investigation was diffing, but I honestly can't pinpoint what's causing this issue:
https://github.com/wobsoriano/solid-sonner/issues/14
GitHub
Hi @wobsoriano ! So I recently made a PR for toast.loading. I'll just preface that this bug is not related to that. I think there's something wrong with how the files are being bundled into...
Was this page helpful?