Skip to content

Commit 82fc311

Browse files
committed
Exclude unneeded modules.
1 parent ee6f88e commit 82fc311

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

webpack/webpack.common.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@ module.exports = ({ outputDir }) => ({
3535
new NormalModuleReplacementPlugin(/^setimmediate$/, require.resolve('../browser/setImmediate')),
3636
],
3737
externals: {
38+
// Rely on external solid-auth-client at window.solid.auth
3839
'solid-auth-client': ['solid', 'auth'],
40+
// Exclude the following unneeded modules
41+
'@comunica/actor-rdf-serialize-jsonld': 'null',
42+
'graphql': 'null',
43+
'graphql-to-sparql': 'null',
44+
'sparqlee': 'null',
3945
},
4046
devtool: 'source-map',
4147
});

0 commit comments

Comments
 (0)