Open svickars opened 2 years ago
+1 on optimizing the resized script. I'll take a look.
It's ideal to have the option to turn it off in the instance that someone would be using multiple figma2html projects on a single site, in which case there would be repeat resize code. But I wonder if there is a better UX on it. Should it automatically be downloaded as a static link? How would it work with Svelte components?
Right now the resizer script is essentially the same as ai2html, but I think we can make it work a little better
Also, what happens when the "include resizer script" option is turned off? can someone just include that script elsewhere in the project?