Skip to content

Module scripts don't load in ViaHTML (affects patterns.hypothes.is) #527

@robertknight

Description

@robertknight

JavaScript that is loaded as a native ES module via <script type="module"> fails load in ViaHTML, due to webrecorder/pywb#771.

This issue causes our pattern library to failed to load when proxied: https://via.hypothes.is/https://patterns.hypothes.is/.

The console error includes a messages about variables named "arguments":

Pattern library error

This error comes from the JS bundle's preamble after it has been preprocessed by pywb:

Pattern library JS load error

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