We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9580b9 commit abff7bfCopy full SHA for abff7bf
1 file changed
webpack.config.js
@@ -0,0 +1,23 @@
1
+const path = require("path");
2
+
3
+module.exports = {
4
+ entry: "./apps/worker/index.ts",
5
+ target: "node",
6
+ mode: "production",
7
+ module: {
8
+ rules: [
9
+ {
10
+ test: /\.ts$/,
11
+ use: "ts-loader",
12
+ exclude: /node_modules/
13
+ }
14
+ ]
15
+ },
16
+ resolve: {
17
+ extensions: [".ts", ".js"]
18
19
+ output: {
20
+ filename: "bundle.js",
21
+ path: path.resolve(__dirname, "dist")
22
23
+};
0 commit comments