vike 0.4.218-commit-8ebd8ee → 0.4.218-commit-7006415
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/utils/PROJECT_VERSION.js +1 -1
- package/dist/cjs/utils/assertSetup.js +1 -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
|
@@ -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
|
|
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 the value ${picocolors_1.default.cyan('undefined')} (in development) but it shouldn't be 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();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PROJECT_VERSION: "0.4.218-commit-
|
|
1
|
+
export declare const PROJECT_VERSION: "0.4.218-commit-7006415";
|
|
@@ -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-7006415';
|
|
@@ -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
|
|
119
|
+
assertWarning(nodeEnv !== 'undefined', `${pc.cyan('process.env.NODE_ENV=="undefined"')} which is unexpected: ${pc.cyan('process.env.NODE_ENV')} can be the value ${pc.cyan('undefined')} (in development) but it shouldn't be 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();
|