RattenheimRechner/webpack.config.js
moanos c078eaa6c5
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat: Add basic translation framework
2024-07-30 20:02:37 +02:00

25 lines
500 B
JavaScript

const path = require("path");
const port = 3000;
const openBrowser = true;
module.exports = {
entry: {
app: ["./src/index.js"],
},
output: {
filename: "bundle.js",
path: path.resolve(__dirname, "public"),
publicPath: "/",
},
mode: "development",
devtool: "source-map",
devServer: {
port: port,
open: openBrowser,
historyApiFallback: {
index: "index.html",
},
static: "public",
},
};