silgi 0.24.8 → 0.24.9
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/cli/index.mjs +1 -1
- package/dist/cli/prepare.mjs +2 -1
- package/package.json +1 -1
package/dist/cli/index.mjs
CHANGED
package/dist/cli/prepare.mjs
CHANGED
|
@@ -1582,8 +1582,9 @@ async function installPackages(silgi) {
|
|
|
1582
1582
|
}
|
|
1583
1583
|
|
|
1584
1584
|
function useCLIRuntimeConfig(silgi) {
|
|
1585
|
+
const safeRuntimeConfig = JSON.parse(JSON.stringify(silgi.options.runtimeConfig));
|
|
1585
1586
|
silgi.hook("prepare:configs.ts", (data) => {
|
|
1586
|
-
data.runtimeConfig =
|
|
1587
|
+
data.runtimeConfig = safeRuntimeConfig;
|
|
1587
1588
|
silgi.options.envOptions = silgi.options.envOptions;
|
|
1588
1589
|
});
|
|
1589
1590
|
const _sharedRuntimeConfig = initRuntimeConfig(silgi.options.envOptions, silgi.options.runtimeConfig);
|