vike 0.4.236-commit-3c05c99 → 0.4.236-commit-eab75f6
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/cjs/shared/page-configs/serialize/serializeConfigValues.js +1 -0
- package/dist/cjs/utils/PROJECT_VERSION.js +1 -1
- package/dist/esm/shared/page-configs/serialize/serializeConfigValues.js +2 -1
- package/dist/esm/utils/PROJECT_VERSION.d.ts +1 -1
- package/dist/esm/utils/PROJECT_VERSION.js +1 -1
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ const REPLACE_ME_AFTER = '__VIKE__REPLACE_ME_AFTER__';
|
|
|
19
19
|
// This file is never loaded on the client-side but we save it under the vike/shared/ directory in order to collocate it with parsePageConfigs()
|
|
20
20
|
// - vike/shared/page-configs/serialize/parsePageConfigs.ts
|
|
21
21
|
// - parsePageConfigs() is loaded on both the client- and server-side.
|
|
22
|
+
(0, utils_js_1.assertIsNotBrowser)();
|
|
22
23
|
(0, assertSetup_js_1.assertIsNotProductionRuntime)();
|
|
23
24
|
function serializeConfigValues(pageConfig, importStatements, filesEnv, isEnvMatch, tabspace, isEager) {
|
|
24
25
|
const lines = [];
|
|
@@ -2,7 +2,7 @@ export { serializeConfigValues };
|
|
|
2
2
|
export { getConfigValuesBase };
|
|
3
3
|
export { isJsonValue };
|
|
4
4
|
import { assertIsNotProductionRuntime } from '../../../utils/assertSetup.js';
|
|
5
|
-
import { assert, assertPosixPath, assertUsage, deepEqual, getPropAccessNotation, isImportPathRelative, } from '../../../node/vite/utils.js';
|
|
5
|
+
import { assert, assertIsNotBrowser, assertPosixPath, assertUsage, deepEqual, getPropAccessNotation, isImportPathRelative, } from '../../../node/vite/utils.js';
|
|
6
6
|
import { parsePointerImportData } from '../../../node/vite/shared/resolveVikeConfigInternal/pointerImports.js';
|
|
7
7
|
import { getConfigValueFilePathToShowToUser } from '../helpers.js';
|
|
8
8
|
import { stringify } from '@brillout/json-serializer/stringify';
|
|
@@ -14,6 +14,7 @@ const REPLACE_ME_AFTER = '__VIKE__REPLACE_ME_AFTER__';
|
|
|
14
14
|
// This file is never loaded on the client-side but we save it under the vike/shared/ directory in order to collocate it with parsePageConfigs()
|
|
15
15
|
// - vike/shared/page-configs/serialize/parsePageConfigs.ts
|
|
16
16
|
// - parsePageConfigs() is loaded on both the client- and server-side.
|
|
17
|
+
assertIsNotBrowser();
|
|
17
18
|
assertIsNotProductionRuntime();
|
|
18
19
|
function serializeConfigValues(pageConfig, importStatements, filesEnv, isEnvMatch, tabspace, isEager) {
|
|
19
20
|
const lines = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PROJECT_VERSION: "0.4.236-commit-
|
|
1
|
+
export declare const PROJECT_VERSION: "0.4.236-commit-eab75f6";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Automatically updated by @brillout/release-me
|
|
2
|
-
export const PROJECT_VERSION = '0.4.236-commit-
|
|
2
|
+
export const PROJECT_VERSION = '0.4.236-commit-eab75f6';
|