Skip to content
This repository has been archived by the owner on Feb 23, 2020. It is now read-only.

Commit

Permalink
Changed webpack config to build relevant modules
Browse files Browse the repository at this point in the history
  • Loading branch information
namesty committed Dec 11, 2019
1 parent e30d9bd commit c863dc2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/subgraph/src/mutations/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ const nodeExternals = require('webpack-node-externals');
module.exports = {
entry: "./src/index.ts",
target: 'node',
externals: [nodeExternals()],
externals: {
"graphql-tag" : "gql",
"web3": "Web3",
"ipfs-http-client": "IPFSClient"
},
module: {
rules: [
{
Expand Down

0 comments on commit c863dc2

Please sign in to comment.