feature (embed): embed frontend assets from the binary

This commit is contained in:
Mickael Kerjean
2022-11-22 23:03:33 +11:00
parent cb7f1693bd
commit 1eea60cfb0
7 changed files with 87 additions and 112 deletions

View File

@ -11,7 +11,7 @@ const config = {
app: path.join(__dirname, "client", "index.js"),
},
output: {
path: path.join(__dirname, "dist", "data", "public"),
path: path.join(__dirname, "server", "ctrl", "static", "www"),
publicPath: "/",
filename: "assets/js/[name]_[chunkhash].js",
chunkFilename: "assets/js/chunk_[name]_[id]_[chunkhash].js",