Skip to content
This repository has been 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

Open
insin opened this issue Jan 11, 2017 · 0 comments
Open

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

insin opened this issue Jan 11, 2017 · 0 comments

Comments

@insin
Copy link

insin commented Jan 11, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant