Skip to content

update export example #35

Description

@coolaj86

In order to provide perfect compatibility with require the export needs to be done in both styles:

let BuildClassifier = {};

BuildClassifier.answer = 42;

export let answer = BuildClassifier.answer;
export default BuildClassifier;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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