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

Error compiling ES6 module using react hmre with Webpack 2 RC4 #83

@insin

Description

@insin

I'm seeing this error serving a HMR build with Webpack 2 RC4 when using ES2015 modules:

module is not allowed in EcmaScript module: This module was detected as EcmaScript module (import or export syntax was used). In such a module using 'module' is not allowed.

I'm guessing this is because babel-plugin-react-transform generates a reference to module here to pass through to here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions