Skip to content
This repository was archived by the owner on May 25, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion generators/app/templates/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,13 @@ module.exports = function(webpackEnv) {
// no need to ship React since it's shipped with the main app
externals: {
'solid-auth-client': ['solid', 'auth'],
'@solid/query-ldflex': ['solid', 'data']
'@solid/query-ldflex': ['solid', 'data'],
// Disable shims for supported browser features
'web-streams-polyfill': 'window',
// Exclude the following unneeded modules
'@comunica/actor-rdf-serialize-jsonld': 'null',
'graphql': 'null',
'graphql-to-sparql': 'null',
},
// Some libraries import Node modules but don't use them in the browser.
// Tell Webpack to provide empty mocks for them so importing them works.
Expand Down
Loading