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.

Suite not found when bundling with Rollup #244

@jonkoops

Description

@jonkoops

I have a simple application hat uses Rollup to bundle some performance tests using benchmark and it cannot find the Suite class.

import benchmark from 'benchmark'

// TypeError: benchmark.Suite is not a constructor
const suite = new benchmark.Suite()

I've created an isolated code example that will produce this error here: https://github.com/jonkoops/rollup-bench

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