a
This commit is contained in:
parent
6015db1f4f
commit
4268b094f7
2 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,13 @@ export default defineConfig({
|
||||||
vite: {
|
vite: {
|
||||||
server: {
|
server: {
|
||||||
allowedHosts: ["nin0-pc.buri-roach.ts.net"]
|
allowedHosts: ["nin0-pc.buri-roach.ts.net"]
|
||||||
|
},
|
||||||
|
resolve: {
|
||||||
|
// Use react-dom/server.edge instead of react-dom/server.browser for React 19.
|
||||||
|
// Without this, MessageChannel from node:worker_threads needs to be polyfilled.
|
||||||
|
alias: import.meta.env.PROD && {
|
||||||
|
"react-dom/server": "react-dom/server.edge"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
BIN
public/logo.png
BIN
public/logo.png
Binary file not shown.
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 5.2 KiB |
Loading…
Add table
Reference in a new issue