Skip to content

ISSUE-002 — Fix Handlebars Syntax Clashes with React Braces #89

Description

@ISONIC0788

What to build

Modify the active compilation regex scan filter. The current engine evaluates any file matching {{ as a Handlebars target. This completely breaks standard inline object styles and structural tags common in React code codebases (e.g., style={{ padding: 12 }}). The compiler must be updated to ignore raw template files or filter out double-braces that do not signify structural config fields.

Files to modify

  • src/generate.js

Specs

  • Handlebars template processing blocks in generateProject().

Acceptance criteria

  • Refine regex or token scanner to distinguish between standard Handlebars blocks and raw inline React prop initializations.
  • Prevent compilation exceptions or structural deletion when processing .tsx files containing style={{ ... }} objects.
  • Ensure genuine configuration fields continue to match and hydrate correctly.

Dependencies

  • None

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions