mod-build 4.0.0-alpha.19e → 4.0.0-alpha.19f

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "4.0.0-alpha.19e",
3
+ "version": "4.0.0-alpha.19f",
4
4
  "description": "Share components for S3 sites.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -181,7 +181,12 @@ export const updateConfig = (config) => {
181
181
  try {
182
182
  const configData = fs.readFileSync('src/.tmp/config.json', 'utf8');
183
183
  const parsedConfig = JSON.parse(configData);
184
- mergedConfig = merge(parsedConfig, mergedConfig);
184
+
185
+ mergedConfig = {
186
+ ...parsedConfig,
187
+ ...mergedConfig,
188
+ };
189
+
185
190
  // overwrite the config file with new data
186
191
  fs.writeFileSync('src/.tmp/config.json', JSON.stringify(mergedConfig, null, 2));
187
192
  } catch (error) {