Webpack2: undefined meta
in HarmonyImportDependency and HarmonyImportSpecifierDependency
#1833
Labels
meta
in HarmonyImportDependency and HarmonyImportSpecifierDependency
#1833
I'm using webpack 2.0.2-beta. In short, webpack2 attempts to access
dep.module.meta.harmonyModule
anddep.importDependency.module.meta.harmonyModule
which causes an error reading fromundefined
, which points to the.meta
part. Here's the full build output of one of the source files, the other is mostly similar:I stumbled on this error while using this config: https://github.com/RickWong/react-isomorphic-starterkit/blob/534c2542701c4db966ef0679bd8de0236fcadd65/configs/webpack.server.js Note that this config marks all node_modules as externals because its result should run in a node server.
By checking the
.meta
s in both files first, I'm able to complete the build successfully. It would be nice if 2.0.3-beta would include this fix.Should I make a Pull Request?
The text was updated successfully, but these errors were encountered: