Skip to content

[Build] Unexpected token error #69

@mikosramek

Description

@mikosramek

Occasionally when building Rollup errors occur, like such:

      [ ERROR ]  Rollup: Parse Error: src/ui/primitives/fieldset/sds-field-error/sds-field-error-functional.tsx:5:5
                 Unexpected token (Note that you need plugins to import files that
                 are not JavaScript)
      
            L5:  type SdsFieldErrorProps = JSXBase.HTMLAttributes<HTMLSpanElement>;
      
      [33:28.9]  build failed in 28.78 s

but no errors are overtly present in the code-base and re-building seems to fix the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions