Fix local dev setup while producing MFE to be embed into Harness Platform (#1225)

This commit is contained in:
Tan Nhu 2024-04-17 06:30:23 +00:00 committed by Harness
parent f24d5b06d3
commit b4902cd6d5
2 changed files with 5 additions and 2 deletions

View File

@ -34,8 +34,8 @@ module.exports = {
target: 'web',
context: CONTEXT,
stats: {
modules: false,
children: false
modules: true,
children: true
},
entry: {
[moduleFederationConfig.name]: './src/public-path'

View File

@ -39,6 +39,9 @@ const devConfig = {
output: {
publicPath: '/'
},
optimization: {
runtimeChunk: 'single'
},
devServer: {
hot: true,
host: HOST,