Skip to content

Option to output resizer as .js file #81

@sawyerclick

Description

@sawyerclick

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

  • I agree to follow figma2html's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions