linkeddata / rdflib.js

Linked Data API for JavaScript
http://linkeddata.github.io/rdflib.js/doc/
Other
564 stars 143 forks source link

Test failling on node 6 #212

Open melvincarvalho opened 6 years ago

melvincarvalho commented 6 years ago

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

melvincarvalho commented 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