Skip to content

Commit

Permalink
Merge pull request #22 from Phala-Network/fix-build
Browse files Browse the repository at this point in the history
fix: missing context
  • Loading branch information
Leechael authored Nov 28, 2023
2 parents f58d9cc + 13f1515 commit caf05ff
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 42 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ npx @phala/fn watch <Your Contract Address> <Your Contract JSON File> dist/index
- [HTTP Request](examples/http-request/index.ts)
- [Batch HTTP Request](examples/batch-http-request/index.ts)
- [ETH ABI Codec](examples/eth-abi-codec/index.ts)
- [VIEM ABI Codec](examples/viem-abi-codec/index.ts)
- [SCALE Codec](examples/scale-codec/index.ts)
- [Call pink.invokeContract](examples/scale-codec/index.ts)
Expand Down
19 changes: 0 additions & 19 deletions examples/eth-abi-codec/index.ts

This file was deleted.

11 changes: 0 additions & 11 deletions examples/eth-abi-codec/package.json

This file was deleted.

11 changes: 0 additions & 11 deletions examples/eth-abi-codec/tsconfig.json

This file was deleted.

1 change: 1 addition & 0 deletions src/lib/runWebpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const getBaseConfig = (
exclude: /node_modules/,
loader: require.resolve('ts-loader'),
options: {
context: projectDir,
configFile: require.resolve('../../tsconfig.build.json'),
onlyCompileBundledFiles: true,
}
Expand Down

0 comments on commit caf05ff

Please sign in to comment.