@next-core/brick-kit 2.145.0 → 2.145.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -9208,7 +9208,7 @@ class Kernel {
9208
9208
 
9209
9209
  var bootstrapResponse = _objectSpread({
9210
9210
  templatePackages: []
9211
- }, data); // Merge `app.defaultConfig` and `app.userConfig` to `app.config`.
9211
+ }, data); // Merge `app.defaultConfig` and `app.userConfig` to `app.config`. Should merge config again in standalone mode when doFulfilStoryboard because static bootstrap.json do not have userConfig.
9212
9212
 
9213
9213
 
9214
9214
  processBootstrapResponse(bootstrapResponse);
@@ -9263,8 +9263,9 @@ class Kernel {
9263
9263
  }
9264
9264
 
9265
9265
  if (appRuntimeData) {
9266
- // merge user config
9267
- storyboard.app.userConfig = _objectSpread(_objectSpread({}, storyboard.app.userConfig), appRuntimeData.userConfig); // get inject menus (Actually, appRuntimeData contains both main and inject menus)
9266
+ // Merge `app.defaultConfig` and `app.userConfig` to `app.config`.
9267
+ storyboard.app.userConfig = _objectSpread(_objectSpread({}, storyboard.app.userConfig), appRuntimeData.userConfig);
9268
+ storyboard.app.config = deepFreeze(merge({}, storyboard.app.defaultConfig, storyboard.app.userConfig)); // get inject menus (Actually, appRuntimeData contains both main and inject menus)
9268
9269
 
9269
9270
  storyboard.meta = _objectSpread(_objectSpread({}, storyboard.meta), {}, {
9270
9271
  injectMenus: appRuntimeData.injectMenus