Squashed 'backend/' content from commit fa83223

git-subtree-dir: backend
git-subtree-split: fa832234607d359848516c9334f2eec45f64969e
This commit is contained in:
2026-04-27 22:44:05 +02:00
commit f8bb37e12f
44 changed files with 7444 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
import path from "path";
import nodeExternals from "webpack-node-externals";
import { TsconfigPathsPlugin } from "tsconfig-paths-webpack-plugin";
export default {
entry: './src/index.ts',
target: "node",
externals: [nodeExternals()],
module: {
rules: [
{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/
}
]
},
resolve: {
extensions: ['.tsx', '.ts', '.js'],
plugins: [
new TsconfigPathsPlugin()
]
},
externalsPresets: {
node: true
},
output: {
path: path.resolve("dist"),
filename: "ipwa-server.js"
},
mode: 'production',
plugins: []
}