vike 0.4.218-commit-df95c8a → 0.4.218-commit-81f6f32
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/node/plugin/plugins/commonConfig.js +2 -1
- package/dist/cjs/utils/PROJECT_VERSION.js +1 -1
- package/dist/cjs/utils/assertSetup.js +1 -1
- package/dist/esm/node/plugin/plugins/commonConfig.js +2 -1
- package/dist/esm/utils/PROJECT_VERSION.d.ts +1 -1
- package/dist/esm/utils/PROJECT_VERSION.js +1 -1
- package/dist/esm/utils/assertSetup.js +1 -1
- package/dist/esm/utils/projectInfo.d.ts +1 -1
- package/package.json +1 -1
|
@@ -35,7 +35,8 @@ function commonConfig(vikeVitePluginOptions) {
|
|
|
35
35
|
_root: root,
|
|
36
36
|
_vikeVitePluginOptions: vikeVitePluginOptions,
|
|
37
37
|
vike: vikeConfig,
|
|
38
|
-
|
|
38
|
+
// TODO/v1-release: remove
|
|
39
|
+
configVikePromise: Promise.resolve(vikeConfig.vikeConfigGlobal)
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
}
|
|
@@ -121,7 +121,7 @@ function getEnvDescription() {
|
|
|
121
121
|
// https://github.com/cloudflare/workers-sdk/issues/7886
|
|
122
122
|
function assertNodeEnvIsNotUndefinedString() {
|
|
123
123
|
const nodeEnv = getNodeEnv();
|
|
124
|
-
(0, assert_js_1.assertWarning)(nodeEnv !== 'undefined', `${picocolors_1.default.cyan('process.env.NODE_ENV
|
|
124
|
+
(0, assert_js_1.assertWarning)(nodeEnv !== 'undefined', `${picocolors_1.default.cyan('process.env.NODE_ENV==="undefined"')} which is unexpected: ${picocolors_1.default.cyan('process.env.NODE_ENV')} can be set to the *value* ${picocolors_1.default.cyan('undefined')} (i.e. ${picocolors_1.default.cyan('process.env.NODE_ENV===undefined')}) but it shouldn't be set to the *string* ${picocolors_1.default.cyan('"undefined"')} ${picocolors_1.default.underline('https://vike.dev/NODE_ENV')}`, { onlyOnce: true });
|
|
125
125
|
}
|
|
126
126
|
function isNodeEnvDev() {
|
|
127
127
|
const nodeEnv = getNodeEnv();
|
|
@@ -30,7 +30,8 @@ function commonConfig(vikeVitePluginOptions) {
|
|
|
30
30
|
_root: root,
|
|
31
31
|
_vikeVitePluginOptions: vikeVitePluginOptions,
|
|
32
32
|
vike: vikeConfig,
|
|
33
|
-
|
|
33
|
+
// TODO/v1-release: remove
|
|
34
|
+
configVikePromise: Promise.resolve(vikeConfig.vikeConfigGlobal)
|
|
34
35
|
};
|
|
35
36
|
}
|
|
36
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PROJECT_VERSION: "0.4.218-commit-
|
|
1
|
+
export declare const PROJECT_VERSION: "0.4.218-commit-81f6f32";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Automatically updated by @brillout/release-me
|
|
2
|
-
export const PROJECT_VERSION = '0.4.218-commit-
|
|
2
|
+
export const PROJECT_VERSION = '0.4.218-commit-81f6f32';
|
|
@@ -116,7 +116,7 @@ function getEnvDescription() {
|
|
|
116
116
|
// https://github.com/cloudflare/workers-sdk/issues/7886
|
|
117
117
|
function assertNodeEnvIsNotUndefinedString() {
|
|
118
118
|
const nodeEnv = getNodeEnv();
|
|
119
|
-
assertWarning(nodeEnv !== 'undefined', `${pc.cyan('process.env.NODE_ENV
|
|
119
|
+
assertWarning(nodeEnv !== 'undefined', `${pc.cyan('process.env.NODE_ENV==="undefined"')} which is unexpected: ${pc.cyan('process.env.NODE_ENV')} can be set to the *value* ${pc.cyan('undefined')} (i.e. ${pc.cyan('process.env.NODE_ENV===undefined')}) but it shouldn't be set to the *string* ${pc.cyan('"undefined"')} ${pc.underline('https://vike.dev/NODE_ENV')}`, { onlyOnce: true });
|
|
120
120
|
}
|
|
121
121
|
function isNodeEnvDev() {
|
|
122
122
|
const nodeEnv = getNodeEnv();
|