Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Benchmark may not be browser global in ESM bundle #246

@loynoir

Description

@loynoir

Scenario

Using rollup generate ESM bundle for browser

Expected

ESM bundle works with no Benchmark in browser global

Actual

Browser all failed error, complains there is no global Benchmark.

Related line

prefix = '(' + (freeDefine ? 'define.amd.' : 'Benchmark.') + prop + '||function(){})();';

Should fixed in pull

#245

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