proc-gen equipment drops from monsters can be picked up
[sketchy-heroes.git] / webpack.config.js
1 //webpack.config.js
2 const path = require('path');
3
4 module.exports = {
5   mode: "development",
6   devtool: "inline-source-map",
7   entry: {
8     main: "./src/public/app/game.ts",
9   },
10   output: {
11     path: path.resolve(__dirname, './src/public'),
12     filename: "bundle.js" // <--- Will be compiled to this single file
13   },
14   resolve: {
15     extensions: [".ts", ".tsx", ".js"],
16   },
17   module: {
18     rules: [
19       { 
20         test: /\.tsx?$/,
21         loader: "ts-loader"
22       }
23     ]
24   }
25 };