Describe the problem
The resizer script can currently only be inlined. This is most immediately a problem for users who want to use multiple figma2html projects without shipping the resizer script each time.
Describe the proposed solution
Add a checkbox to output the resizer script as a separate .js file. In could be included with the pack of exportables, though this would require some refactoring.
This would change generator/html/wrapper.ts's file creation flow.
Alternatives considered
No response
Importance
would make my life easier
Code of Conduct
Describe the problem
The resizer script can currently only be inlined. This is most immediately a problem for users who want to use multiple figma2html projects without shipping the resizer script each time.
Describe the proposed solution
Add a checkbox to output the resizer script as a separate .js file. In could be included with the pack of exportables, though this would require some refactoring.
This would change generator/html/wrapper.ts's file creation flow.
Alternatives considered
No response
Importance
would make my life easier
Code of Conduct