@taujs/create-taujs 0.7.0 → 0.7.1
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/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1294,7 +1294,9 @@ function generateServerIndex() {
|
|
|
1294
1294
|
import config from '../../taujs.config.ts';
|
|
1295
1295
|
import { serviceRegistry } from './services/registry.ts';
|
|
1296
1296
|
|
|
1297
|
-
|
|
1297
|
+
// Development is requested explicitly, exactly as \u03C4js derives its own runtime mode: every other
|
|
1298
|
+
// value - production, test, staging, unset - is production. Do not invert this check.
|
|
1299
|
+
const isDev = process.env.NODE_ENV === "development";
|
|
1298
1300
|
|
|
1299
1301
|
const { app, net } = await createServer({
|
|
1300
1302
|
config,
|