-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebpack.config.cjs
37 lines (36 loc) · 981 Bytes
/
webpack.config.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
const { resolve } = require("path");
module.exports = {
target: "node",
mode: "development",
entry: {
testIntegration: "./src/test/index.ts",
rpc: "./src/rpc/index.ts",
announceValidatorStorage: "./src/cli/announceValidatorStorage.ts",
createValidatorKey: "./src/cli/createValidatorKey.ts",
sendCardanoToKhalaniUsdcMessage: "./src/cli/sendCardanoToKhalaniUsdcMessage.ts",
processPendingUsdcMintRequests: "./src/cli/processPendingUsdcMintRequests.ts",
deployNewInbox: "./src/cli/deployNewInbox.ts",
deployNewOutbox: "./src/cli/deployNewOutbox.ts",
},
output: {
filename: "[name].js",
path: resolve(__dirname, "dist"),
},
resolve: {
extensions: [".ts", ".js"],
},
module: {
rules: [
{
test: /\.ts/,
exclude: /node_modules/,
loader: "ts-loader",
},
{
test: /\.hl/,
exclude: /node_modules/,
loader: "@hyperionbt/helios-loader",
},
],
},
};