Skip to content

Commit

Permalink
WEBUI-1522: [UNSET-VALUE] SRCCLR-SID-37811 | Unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
alokhyland committed Aug 30, 2024
1 parent 2d39b4c commit 5d51199
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
"wdio-json-reporter": "^3.0.0",
"webpack": "^5.3.0",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-cli": "^4.1.0",
"webpack-dev-server": "^3.11.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"webpack-log": "^3.0.1",
"webpack-merge": "^5.2.0",
"workbox-cli": "3.6.3"
Expand Down Expand Up @@ -205,4 +205,4 @@
"eslint --fix"
]
}
}
}
22 changes: 17 additions & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,15 +186,22 @@ const development = merge([
devtool: 'cheap-module-source-map',
plugins: [new CopyWebpackPlugin({ patterns: [...tmp, ...polyfills, ...addons, ...thirdparty] })],
devServer: {
contentBase: TARGET,
static: {
directory: TARGET,
},
compress: true,
overlay: true,
client: {
overlay: true,
},
port: 5000,
host: '0.0.0.0',
historyApiFallback: true,
proxy: {
'/nuxeo': `http://${process.env.NUXEO_HOST || 'localhost:8080'}/`,
},
proxy: [
{
context: ['/nuxeo'],
target: `http://${process.env.NUXEO_HOST || 'localhost:8080'}/`,
},
],
},
},
]);
Expand Down Expand Up @@ -226,6 +233,11 @@ const production = merge([
}),
...analyzer,
],
devServer: {
client: {
overlay: false,
},
},
},
]);

Expand Down

0 comments on commit 5d51199

Please sign in to comment.