Open maurocolella opened 6 years ago
Apparently, the issue was due to not outputting source maps for bundles.
I migrated to Webpack 3 (which gave a clearer error output for that case); then I set UglifyJS options to output source maps, and the issue is resolved.
Actually: I am getting further with the new configuration, but I see no output from isomorphic-webpack
. And server rendering fails on the chunking (ReferenceError : webpackJsonp is not defined
).
The code is on that branch: https://github.com/maurocolella/__new_me/tree/feature/add-isomorphic-rendering
Hi,
First of all thank you. This library seems like a great option and I enjoyed your tutorial.
Now: when I try to
createIsomorphicWebpack(config);
Compilation fails and I get the error above.
server.js
webpack.config.js