Aktualisiere Docker-Images auf die neuesten Versionen und passe die Pfade in der esbuild-Konfiguration an
This commit is contained in:
parent
7a6a2cbd22
commit
cf1acc1d80
@ -26,7 +26,7 @@ services:
|
||||
tibiserver:
|
||||
profiles:
|
||||
- tibi
|
||||
image: gitbase.de/cms/tibi-server
|
||||
image: gitbase.de/cms/tibi-server:dev
|
||||
volumes:
|
||||
- ./:/data
|
||||
environment:
|
||||
@ -113,7 +113,7 @@ services:
|
||||
profiles:
|
||||
- tibi
|
||||
- tibi-dev
|
||||
image: gitbase.de/server/mongo:4.2
|
||||
image: gitbase.de/server/mongo:8
|
||||
volumes:
|
||||
- ./tmp/mongo-data:/data/db
|
||||
user: ${CODER_UID}:${CODER_GID}
|
||||
|
@ -93,7 +93,6 @@ if (process.argv[2] == "start") {
|
||||
changeOrigin: true,
|
||||
logLevel: "debug",
|
||||
pathRewrite: function (path, req) {
|
||||
console.log(path)
|
||||
return "/ssr?url=" + encodeURIComponent(path)
|
||||
},
|
||||
})
|
||||
@ -107,7 +106,7 @@ module.exports = {
|
||||
options: options,
|
||||
distDir,
|
||||
watch: {
|
||||
path: [__dirname + "/" + frontendDir + "/src/**/*"],
|
||||
path: [__dirname + "/" + frontendDir + "/src"],
|
||||
},
|
||||
serve: {
|
||||
onRequest(args) {
|
||||
|
@ -1,14 +1,10 @@
|
||||
import App from "./App.svelte"
|
||||
import { hydrate } from "svelte"
|
||||
|
||||
let appContainer = document?.getElementById("appContainer")
|
||||
|
||||
const hydrate = true //import.meta?.env?.MODE !== "development"
|
||||
console.log("Features: ", { hydrate })
|
||||
|
||||
const app = new App({
|
||||
target: appContainer,
|
||||
props: {},
|
||||
hydrate,
|
||||
})
|
||||
const app = hydrate(App, { target: appContainer })
|
||||
|
||||
export default app
|
||||
|
Loading…
x
Reference in New Issue
Block a user