Skip to content
This repository was archived by the owner on Nov 13, 2023. It is now read-only.
This repository was archived by the owner on Nov 13, 2023. It is now read-only.

bs.js modules imported in commonjs format with "es6" config #67

Description

@jchavarri

Pretty minor, but when using "module": "es6" in bsconfig.json, the main BuckleScript file that is consumed from the .re.js files is still being imported using require:

// $FlowExpectedError: Reason checked type sufficiently
const DemoBS = require('./Demo.bs');

The expected behavior would be that these imports also comply with the module config value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions