Skip to content

head-min and self-contained #16

@stropitek

Description

@stropitek

As of today, when a view has an unknown version it falls back to head-min (I did this because if so it is very likely that the view has be saved on head)

This causes problems in self-contained mode because all versions of visualizer are downloaded just once. Thus the head-min will never be up-to-date.

Two possible solutions:

  • Fallback to latest, and views saved on head might not work on built website. For consistency the behavior would be the same when not using self-contained mode.
  • Keep fallback to head-min, and download head-min on every build

I'd rather go for the 1st solution. Production views should probably not be on head anyway, and solution 2 is overkill.

@targos, @lpatiny what do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions