2 const path = require('path');
3 const tsconfigPaths = require('tsconfig-paths-webpack-plugin');
7 devtool: "inline-source-map",
9 main: "./src/client.ts",
12 path: path.resolve(__dirname, './public', 'assets'),
13 filename: "bundle.js" // <--- Will be compiled to this single file
16 extensions: [".ts", ".tsx", ".js"],