Open melvincarvalho opened 6 years ago
Note : setting devtool to cheap-source-map fixes the error, but hinders debugging.
Slightly related is this issue in chrome, which shows what various devtool settings do, and related bugs : https://github.com/webpack/webpack/issues/2145
Have encountered the above too
There is a test failing on node 6 due to webpack :
https://travis-ci.org/linkeddata/rdflib.js/jobs/312302692
Node 8 works fine, and it's unclear what the exact file that is breaking the build.
The issue relates to webpack generating a source map for rdflib.js. If the webpack config devtool setting is changed the browser library is generated.
Related issue in webpack : https://github.com/webpack/webpack/issues/5931