mirror of
https://github.com/Steffo99/unisteffo.git
synced 2024-11-25 01:14:21 +00:00
Patch webpack to support codespaces
This commit is contained in:
parent
44dac475cb
commit
ad2505165e
1 changed files with 11 additions and 0 deletions
|
@ -15,6 +15,17 @@ const moduleExports = {
|
|||
experimental: {
|
||||
appDir: true,
|
||||
},
|
||||
webpack: (config) => ({
|
||||
...config,
|
||||
devServer: {
|
||||
...config.devServer,
|
||||
client: {
|
||||
...config.client,
|
||||
webSocketURL: "auto://0.0.0.0:0/ws"
|
||||
},
|
||||
allowedHosts: process.env.CODESPACES ? [".preview.app.github.dev"] : config.devServer.allowedHosts
|
||||
}
|
||||
})
|
||||
};
|
||||
|
||||
const sentryWebpackPluginOptions = {
|
||||
|
|
Loading…
Reference in a new issue