Skip to content

es module version #138

@daKmoR

Description

@daKmoR

hey,

sinon chai is not available as an es module version

I would like to do something like this (natively in the browser)

import { sinonChai } from './node_modules/sinon-chai';
// could also be from './node_modules/sinon-chai/sinon-chai-esm.js';

chai.use(sinonChai);

same as it's offered for https://sinonjs.org/

would you be interested in offering an es module versions then I can prepare a PR.
(possibly using rollup or even turning it around and have an es module source and export a node/amd package => details could be discussed if this is a possible route)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions